com web/php: No more apc here and fix the path to the ws config: ws.php

From: 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-22846@lists.php.net to get a copy of this message
Commit: 5c2573c43810b3117e4d204399f8b5a6b1fc120e Author: Rasmus Lerdorf <rasmus@php.net> Sat, 25 May 2013 17:13:56 -0700 Parents: 2e3f330a117ae27580f2e5b1f098c98a03b0cbf4 Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=5c2573c43810b3117e4d204399f8b5a6b1fc120e 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;

« previous php.webmaster (#22846) next »