com web/php: Disable apc for a while.. No real need anyway: ws.php
| From: | Paul Dragoonis | Date: | Tue, 19 Mar 2013 17:45:33 +0000 |
| Subject: | com web/php: Disable apc for a while.. No real need anyway: ws.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-22887@lists.php.net to get a copy of this message | ||
Commit: b6cb58e060baaab9fd02890efdcb463938373a4d
Author: Hannes Magnusson <bjori@10gen.com> Tue, 19 Mar 2013 10:45:03 -0700
Parents: 867a1f6cced698808a8dc410921427f87f5e7cf2
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=b6cb58e060baaab9fd02890efdcb463938373a4d
Log:
Disable apc for a while.. No real need anyway
Changed paths:
M ws.php
Diff:
diff --git a/ws..php b/ws.php
index 2a1b958..3c01d0e 100644
--- a/ws.php
+++ b/ws.php
@@ -1,8 +1,10 @@
<?php
include 'include/languages.inc';
-if(!$conf=apc_fetch('ws2_config')) {
+if(false && !$conf=apc_fetch('ws2_config')) {
include '/local/Web/ws2.conf';
apc_store('ws2_config',$conf);
+} else {
+ include '/local/Web/ws2.conf';
}
$raw = filter_input(INPUT_GET, 'q', FILTER_UNSAFE_RAW);
$q = urlencode($raw);