  |
1 | 1 | | <?php |
| |
2 | 2 | | /* |
  |
3 | | - | $Id: mysql.php 1498 2007-03-29 14:04:50Z hpdl $ |
| |
| 3 | + | $Id: mysql.php 1863 2009-03-06 23:53:49Z hpdl $ |
|
4 | 4 | | |
| |
5 | 5 | | osCommerce, Open Source E-Commerce Solutions |
| |
6 | 6 | | http://www.oscommerce.com |
| |
|
|
 |
… |
|
87 | 87 | | } |
| |
88 | 88 | | |
| |
89 | 89 | | function simpleQuery($query, $debug = false) { |
  |
90 | | - | global $messageStack, $osC_Services; |
| |
| 90 | + | global $osC_MessageStack, $osC_Services; |
|
91 | 91 | | |
| |
92 | 92 | | if ($this->isConnected()) { |
| |
93 | 93 | | $this->number_of_queries++; |
| |
|
|
 |
… |
|
125 | 125 | | |
| |
126 | 126 | | echo '<div style="font-family: Verdana, Arial, sans-serif; font-size: 7px; font-weight: bold;">[<a href="#query' . $this->number_of_queries . '">#' . $this->number_of_queries . '</a>]</div>'; |
| |
127 | 127 | | |
  |
128 | | - | $messageStack->add('debug', '<a name=\'query' . $this->number_of_queries . '\'></a>[#' . $this->number_of_queries . ' - ' . $query_time . 's] ' . $query, 'warning'); |
| |
| 128 | + | $osC_MessageStack->add('debug', '<a name=\'query' . $this->number_of_queries . '\'></a>[#' . $this->number_of_queries . ' - ' . $query_time . 's] ' . $query, 'warning'); |
  |
129 | 129 | | } |
| |
130 | 130 | | |
| |
131 | 131 | | if ($resource !== false) { |