We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55e759e commit 28edd77Copy full SHA for 28edd77
phpfastcache/3.0.0/drivers/files.php
@@ -162,7 +162,9 @@ function driver_stats($option = array()) {
162
$key = $f;
163
}
164
else {
165
- $key = explode(".", $f)[0];
+ //Because PHP 5.3, this cannot be written in single line
166
+ $key = explode(".", $f);
167
+ $key = $key[0];
168
169
$content[$key] = array("size"=>$size,"write_time"=>$object["write_time"]);
170
if($this->isExpired($object)) {
0 commit comments