Its used on line#81;
$conf = array("svc" => ..., "appid" => ...), and then inserts the
search results into a db for logging.We've changed so many times search vendors that I honestly don't even know how it works right now, maybe this isn't even hit at all since we are using some javascript stuff to fetch search results? -Hannes On Thu, May 23, 2013 at 5:28 AM, Ferenc Kovacs <[email protected]> wrote: > > > > On Tue, Mar 19, 2013 at 6:45 PM, Hannes Magnusson <[email protected]> wrote: >> >> Commit: f1cf36a836d55944d0588dce2917b430203a363d >> Author: Hannes Magnusson <[email protected]> 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); >> >> >> -- >> PHP Webmaster List Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> > > hi, > > what should this ws2.conf contain? > I've just noticed that this file is missing from y3 and with the current > rsync config present there, that fill would never survive a sync, as it > isn't in the rsync source nor added as an exception but --delete is set: > > /usr/local/bin/rsync -rlptDvzC --timeout=600 --delete --delete-after \ > --include='distributions/*.exe' --include='manual/en/' \ > --include='manual/en/**' --include='manual/*.php' \ > --include='manual/**' americas.rsync.php.net::phpweb > /var/www/www.php.net > > -- > Ferenc Kovács > @Tyr43l - http://tyrael.hu -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
