1. In the function cache_set

static $subdirectoires;

... this variable did not seem initialized or used anywhere ??

2. In the function cache_create_directory, see this line.

          @chmod($subdirectory, 0775); // Necessary for non-webserver users.

I did not see the var $subdirectory initialized anywhere. Will it work the way it is ??
......Correct me if I am wrong.

Thanks.

Comments

kenorb’s picture

Status: Active » Needs review

Yes, it's true.
It should be $dir instead of $subdirectory

kenorb’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.