Fix undefined constant error when flushing cache (#7321)
This commit is contained in:
parent
0a42d8f198
commit
ad1ba95566
|
|
@ -194,8 +194,8 @@ class cache {
|
||||||
}
|
}
|
||||||
|
|
||||||
//remove the autoloader file cache
|
//remove the autoloader file cache
|
||||||
if (file_exists(sys_get_temp_dir() . '/' . auto_loader::FILE)) {
|
if (file_exists(sys_get_temp_dir() . '/' . auto_loader::CLASSES_FILE)) {
|
||||||
@unlink(sys_get_temp_dir() . '/' . auto_loader::FILE);
|
@unlink(sys_get_temp_dir() . '/' . auto_loader::CLASSES_FILE);
|
||||||
}
|
}
|
||||||
|
|
||||||
//cache method memcache
|
//cache method memcache
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue