Fix undefined constant error when flushing cache (#7321)

This commit is contained in:
frytimo 2025-03-17 13:00:25 -03:00 committed by GitHub
parent 0a42d8f198
commit ad1ba95566
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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