fixes #2061 disable opcache during upgrade

This commit is contained in:
plegall
2023-12-11 17:33:42 +01:00
parent 85322e879f
commit 4ca786c6a9

View File

@@ -6,6 +6,14 @@
// | file that was distributed with this source code. |
// +-----------------------------------------------------------------------+
// right after the overwrite of previous version files by the unzip in the administration,
// PHP engine might still have old files in cache. We do not want to use the cache and
// force reload of all application files. Thus we disable opcache.
if (function_exists('ini_set'))
{
@ini_set('opcache.enable', 0);
}
define('PHPWG_ROOT_PATH', './');
// load config file