diff --git a/src/includes/common.php b/src/includes/common.php index 9bc2f38..24d30fa 100644 --- a/src/includes/common.php +++ b/src/includes/common.php @@ -165,14 +165,14 @@ class Config if($f === false) throw new Exception("Error while saving config file"); fwrite($f, ""); fclose($f); -/* + //Reset Zend OPcache //opcache_get_status() sometimes crashes //TODO: save config in database! if (function_exists("opcache_invalidate") && 0 != (int)opcache_get_configuration()["directives"]["opcache.enable"]) { opcache_invalidate(MTTPATH. 'db/config.php', true); } - */ + } }