com web/php: No more apc here and fix the path to the ws config: ws.php
| From: | Rasmus Lerdorf | Date: | Sun, 26 May 2013 00:13:56 +0000 |
| Subject: | com web/php: No more apc here and fix the path to the ws config: ws.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-15887@lists.php.net to get a copy of this message | ||
Commit: 9fcac0c6783fd0b1302da1682802086ae63658d1
Author: Rasmus Lerdorf <rasmus@php.net> Sat, 25 May 2013 17:13:56 -0700
Parents: c0e6be6a2351e8f9f8c00603854cefccaa0338ce
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=9fcac0c6783fd0b1302da1682802086ae63658d1
Log:
No more apc here and fix the path to the ws config
Changed paths:
M ws.php
Diff:
diff --git a/ws.php b/ws.php
index 3c01d0e..7ba4d3f 100644
--- a/ws.php
+++ b/ws.php
@@ -1,11 +1,7 @@
<?php
include 'include/languages.inc';
-if(false && !$conf=apc_fetch('ws2_config')) {
- include '/local/Web/ws2.conf';
- apc_store('ws2_config',$conf);
-} else {
- include '/local/Web/ws2.conf';
-}
+include '/local/this-box/ws2.conf';
+
$raw = filter_input(INPUT_GET, 'q', FILTER_UNSAFE_RAW);
$q = urlencode($raw);
$r = isset($_REQUEST['results']) ? (int)$_REQUEST['results'] : 10;