Sunday, December 1, 2013

Magento print query for throughout site.

Lib/zend/Db/Adapter/Abstract.php

find :

public function query($sql, $bind = array())


after :

$sql = $sql->assemble();

//echo $sql . “\n<br />\n”;

// var_dump($bind);


Magento print query for throughout site.

No comments:

Post a Comment

Please mention your comments.......