// Normalize
This commit is contained in:
Vendored
+1
-1
@@ -132,7 +132,7 @@ class CacheFsCore extends Cache
|
||||
if (!$directory)
|
||||
$directory = _PS_CACHEFS_DIRECTORY_;
|
||||
$chars = '0123456789abcdef';
|
||||
for ($i = 0; $i < strlen($chars); $i++)
|
||||
for ($i = 0, $length = strlen($chars); $i < $length; $i++)
|
||||
{
|
||||
$new_dir = $directory.$chars[$i].'/';
|
||||
if (mkdir($new_dir))
|
||||
|
||||
Reference in New Issue
Block a user