From 1d52b9105c477df43098e5bcec3cd4797afe21f7 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 3 Feb 2015 23:35:27 +0100 Subject: [PATCH] Force cache invalidation when options.inc.php is (re-)created --- wcfsetup/install/files/lib/data/option/OptionEditor.class.php | 1 + 1 file changed, 1 insertion(+) 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'); } } -- 2.20.1