1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

tweaked mirrortest check

This commit is contained in:
Philip Olson
2011-07-16 14:11:11 +00:00
parent bf3831c9d9
commit 9a255989ff

2
ws.php
View File

@@ -71,7 +71,7 @@ function ws_bing_massage($data) {
return serialize($massaged);
}
if($scope!='mirrortest'):
if($raw!='mirrortest'):
$dbh = new PDO('mysql:host=localhost;dbname=ws', $conf['db_user'], $conf['db_pw'], array(PDO::ATTR_PERSISTENT => true,
PDO::MYSQL_ATTR_USE_BUFFERED_QUERY => true));
$dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);