Don't report E_DEPRECATED

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@790 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana 2009-07-03 09:17:23 +00:00
parent 61640ee6d7
commit 31b0572b5d
2 changed files with 2 additions and 2 deletions

View file

@ -166,7 +166,7 @@ function compile_file($match) {
return call_user_func($match[2], file_get_contents(dirname(__FILE__) . "/adminer/$match[1]"));
}
error_reporting(E_ALL & ~E_NOTICE);
error_reporting(4343); // errors and warnings
$project = "adminer";
if (file_exists($_SERVER["argv"][1] . "/index.php")) {
$project = $_SERVER["argv"][1];

View file

@ -1,5 +1,5 @@
<?php
error_reporting(E_ALL & ~E_NOTICE);
error_reporting(4343); // errors and warnings
if ($_SERVER["argc"] > 1) {
$_COOKIE["adminer_lang"] = $_SERVER["argv"][1]; // Adminer functions read language from cookie
include dirname(__FILE__) . "/adminer/include/lang.inc.php";