Commit 2ae5e95e authored by Ayolo's avatar Ayolo


parent f16adb69
......@@ -91,7 +91,7 @@ class requete {
if(!$base->dbh) {
$this->errmsg = "Non connecté";
$this->lines = -1;
if( !preg_match('/^\/var\/www\/ae\/www\/ae2\//', $_SERVER['SCRIPT_FILENAME']))
if( !preg_match('/^\/var\/www\/ae\/www\//', $_SERVER['SCRIPT_FILENAME']))
echo "<p>NON MAIS CA VA PAS ! c'est un \$site->db et pas un \$this->db (ou inversement)</p>\n";
return FALSE;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment