From 822475f495692d7fb2eea64f90e8086472266d2b Mon Sep 17 00:00:00 2001 From: Fil <fil@rezo.net> Date: Tue, 7 Mar 2006 14:48:55 +0000 Subject: [PATCH] inc/debug est maintenant public/debug --- ecrire/base/db_mysql.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ecrire/base/db_mysql.php b/ecrire/base/db_mysql.php index 29fcb08cb9..bb36a56f35 100644 --- a/ecrire/base/db_mysql.php +++ b/ecrire/base/db_mysql.php @@ -54,6 +54,7 @@ function spip_query_db($query) { if ($s = mysql_error()) { if ($my_debug) { + include_spip('public/debug'); echo _T('info_erreur_requete')." ".htmlentities($query)."<br>"; echo "« ".htmlentities($s)." »<p>"; } @@ -102,7 +103,7 @@ function spip_mysql_select($select, $from, $where, } if (!($res = @spip_query($q))) { - include_spip('inc/debug'); + include_spip('public/debug'); erreur_requete_boucle($q, $id, $table, spip_sql_errno(), spip_sql_error()); -- GitLab