SQL query compression for debug view

This commit is contained in:
Savetheinternet 2011-12-04 11:28:33 +11:00
parent 03a946614f
commit 82f4e4f685

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