From: Alexander Ebert Date: Tue, 3 Feb 2015 22:35:27 +0000 (+0100) Subject: Force cache invalidation when options.inc.php is (re-)created X-Git-Tag: 2.1.0_RC_1~83^2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1d52b9105c477df43098e5bcec3cd4797afe21f7;p=GitHub%2FWoltLab%2FWCF.git Force cache invalidation when options.inc.php is (re-)created --- diff --git a/wcfsetup/install/files/lib/data/option/OptionEditor.class.php b/wcfsetup/install/files/lib/data/option/OptionEditor.class.php index aad1a9ae91..2653fa3482 100644 --- a/wcfsetup/install/files/lib/data/option/OptionEditor.class.php +++ b/wcfsetup/install/files/lib/data/option/OptionEditor.class.php @@ -136,5 +136,6 @@ class OptionEditor extends DatabaseObjectEditor implements IEditableCachedObject $writer->close(); FileUtil::makeWritable(WCF_DIR.'options.inc.php'); + WCF::resetZendOpcache(WCF_DIR.'options.inc.php'); } }