1
0
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:
Savetheinternet 2011-12-04 11:28:33 +11:00
parent b8a143756c
commit 1a21525759

View File

@ -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) {