web_interface/astpp/system/database/DB_driver.php 1 location
|
@@ 254-262 (lines=9) @@
|
251 |
|
*/ |
252 |
|
function query($sql, $binds = FALSE, $return_object = TRUE) |
253 |
|
{ |
254 |
|
if ($sql == '') |
255 |
|
{ |
256 |
|
if ($this->db_debug) |
257 |
|
{ |
258 |
|
log_message('error', 'Invalid query: '.$sql); |
259 |
|
return $this->display_error('db_invalid_query'); |
260 |
|
} |
261 |
|
return FALSE; |
262 |
|
} |
263 |
|
|
264 |
|
// Verify table prefix and replace if necessary |
265 |
|
if (($this->dbprefix != '' AND $this->swap_pre != '') AND ($this->dbprefix != $this->swap_pre)) |
web_interface/astpp/system/database/drivers/oci8/oci8_driver.php 1 location
|
@@ 246-250 (lines=5) @@
|
243 |
|
{ |
244 |
|
if ($package == '' OR $procedure == '' OR ! is_array($params)) |
245 |
|
{ |
246 |
|
if ($this->db_debug) |
247 |
|
{ |
248 |
|
log_message('error', 'Invalid query: '.$package.'.'.$procedure); |
249 |
|
return $this->display_error('db_invalid_query'); |
250 |
|
} |
251 |
|
return FALSE; |
252 |
|
} |
253 |
|
|