forked from leftypol/leftypol
...
This commit is contained in:
parent
2162238813
commit
e3f2aa8da3
5 changed files with 23 additions and 49 deletions
|
@ -29,12 +29,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
function sql_close() {
|
||||
global $pdo, $config;
|
||||
if(!$config['db']['persistent'])
|
||||
$pdo = NULL;
|
||||
}
|
||||
|
||||
function prepare($query) {
|
||||
global $pdo, $debug, $config;
|
||||
if($config['debug']) {
|
||||
|
@ -65,4 +59,4 @@
|
|||
return $err[2];
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue