show source URL in query
This commit is contained in:
parent
8b2c580930
commit
b973705021
@ -600,7 +600,11 @@ class Database {
|
|||||||
try {
|
try {
|
||||||
if(is_null($this->db)) $this->connect_db();
|
if(is_null($this->db)) $this->connect_db();
|
||||||
$this->count_execs($query, $args);
|
$this->count_execs($query, $args);
|
||||||
$stmt = $this->db->prepare($query);
|
$stmt = $this->db->prepare(
|
||||||
|
"-- " . str_replace("%2F", "/", urlencode(@$_GET['q'])). "\n" .
|
||||||
|
$query
|
||||||
|
);
|
||||||
|
// $stmt = $this->db->prepare($query);
|
||||||
if (!array_key_exists(0, $args)) {
|
if (!array_key_exists(0, $args)) {
|
||||||
foreach($args as $name=>$value) {
|
foreach($args as $name=>$value) {
|
||||||
if(is_numeric($value)) {
|
if(is_numeric($value)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user