<defaultvalue><![CDATA[disk]]></defaultvalue>
<selectoptions><![CDATA[disk:wcf.acp.option.cache_source_type.disk
memcached:wcf.acp.option.cache_source_type.memcached
-apc:wcf.acp.option.cache_source_type.apc
no:wcf.acp.option.cache_source_type.no]]></selectoptions>
+ <!-- apc:wcf.acp.option.cache_source_type.apc -->
<enableoptions><![CDATA[disk:!cache_source_memcached_host
memcached:cache_source_memcached_host
-apc:!cache_source_memcached_host
no:!cache_source_memcached_host]]></enableoptions>
+ <!-- apc:!cache_source_memcached_host -->
</option>
<option name="cache_source_memcached_host">
+++ /dev/null
-<?php
-use wcf\system\WCF;
-
-/**
- * @author Alexander Ebert
- * @copyright 2001-2013 WoltLab GmbH
- * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- * @package com.woltlab.wcf
- * @category Community Framework
- */
-
-// remove log files used during Beta/RC
-@unlink(WCF_DIR.'__installPerformance.log');
-@unlink(WCF_DIR.'__wcfSetupPerformance.log');
--- /dev/null
+<?php
+use wcf\system\WCF;
+/**
+ * @author Alexander Ebert
+ * @copyright 2001-2013 WoltLab GmbH
+ * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @package com.woltlab.wcf
+ * @category Community Framework
+ */
+
+// disable APC if applicable
+$sql = "UPDATE wcf".WCF_N."_option
+ SET optionValue = ?
+ WHERE optionName = ?
+ AND optionValue = ?";
+$statement = WCF::getDB()->prepareStatement($sql);
+$statement->execute(array(
+ 'disk',
+ 'cache_source_type',
+ 'apc'
+));