mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Call opcache_reset() after recreating cache files
This commit is contained in:
parent
8d1429b286
commit
f35ffad766
1 changed files with 6 additions and 0 deletions
|
|
@ -115,6 +115,12 @@ class CacheReset extends Base
|
|||
$oAutoinstallAdminController = getAdminController('autoinstall');
|
||||
$oAutoinstallAdminController->checkInstalled();
|
||||
|
||||
// Opcache reset
|
||||
if (function_exists('opcache_reset'))
|
||||
{
|
||||
opcache_reset();
|
||||
}
|
||||
|
||||
$this->setMessage('success_updated');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue