SQL query compression for debug view
This commit is contained in:
1 parent
03a946614f
commit
82f4e4f685
1 file changed
+2
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user