mirror of
https://github.com/DanWin/hosting.git
synced 2025-07-27 09:06:07 +02:00
emulated params
This commit is contained in:
parent
01af3c367d
commit
b46d0c7ab0
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
include('../common.php');
|
include('../common.php');
|
||||||
try{
|
try{
|
||||||
$db=new PDO('mysql:host=' . DBHOST . ';dbname=' . DBNAME, DBUSER, DBPASS, [PDO::ATTR_ERRMODE=>PDO::ERRMODE_WARNING, PDO::ATTR_PERSISTENT=>PERSISTENT]);
|
$db=new PDO('mysql:host=' . DBHOST . ';dbname=' . DBNAME, DBUSER, DBPASS, [PDO::ATTR_ERRMODE=>PDO::ERRMODE_WARNING, PDO::ATTR_PERSISTENT=>PERSISTENT, PDO::ATTR_EMULATE_PREPARES=>false]);
|
||||||
}catch(PDOException $e){
|
}catch(PDOException $e){
|
||||||
die('No Connection to MySQL database!');
|
die('No Connection to MySQL database!');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue