Update storage.php
This commit is contained in:
parent
08a409324d
commit
f4f84f5f68
|
@ -306,8 +306,7 @@ if(!check_function_exists("remove_storage_files")) {
|
||||||
|
|
||||||
if(!check_function_exists("remove_volatile_files")) {
|
if(!check_function_exists("remove_volatile_files")) {
|
||||||
function remove_volatile_files($storage_type, $max_age=0, $options=array()) {
|
function remove_volatile_files($storage_type, $max_age=0, $options=array()) {
|
||||||
$config = get_config();
|
return remove_storage_files($storage_type, array(
|
||||||
return remove_storage_files("cache", array(
|
|
||||||
"max_age" => $max_age,
|
"max_age" => $max_age,
|
||||||
"excludes" => array("index.php", "index.html")
|
"excludes" => array("index.php", "index.html")
|
||||||
), $options);
|
), $options);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user