il problema è in
if (is_dir("$dirName$file")) {
fallo diventare
if (is_dir("{$dirName}/{$file}")) {
il problema è in
if (is_dir("$dirName$file")) {
fallo diventare
if (is_dir("{$dirName}/{$file}")) {
The fastest Redis alternative ... cachegrand! https://github.com/danielealbano/cachegrand