Commit: 9fcac0c6783fd0b1302da1682802086ae63658d1 Author: Rasmus Lerdorf <[email protected]> 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; -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
