mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-18 17:14:04 +01:00
SQL query compression for debug view
This commit is contained in:
parent
b8a143756c
commit
1a21525759
@ -10,6 +10,8 @@
|
||||
|
||||
public function __construct($query) {
|
||||
global $pdo;
|
||||
$query = preg_replace("/[\n\t]+/", ' ', $query);
|
||||
|
||||
$this->query = $pdo->prepare($query);
|
||||
}
|
||||
public function __call($function, $args) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user