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:
2
ws.php
2
ws.php
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user