com web/php: Disable apc for a while.. No real need anyway: ws.php
| From: | Hannes Magnusson | 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-15708@lists.php.net to get a copy of this message | ||
Commit: f1cf36a836d55944d0588dce2917b430203a363d
Author: Hannes Magnusson <bjori@10gen.com> Tue, 19 Mar 2013 10:45:03 -0700
Parents: 8fd5f9bd7804da97b574b216debf97d177a68b48
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=f1cf36a836d55944d0588dce2917b430203a363d
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);