diff --git a/compile.php b/compile.php index e0e88f3a6..1f1f7b32c 100644 --- a/compile.php +++ b/compile.php @@ -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]; diff --git a/lang.php b/lang.php index 0f4a361f5..ee10e2035 100644 --- a/lang.php +++ b/lang.php @@ -1,5 +1,5 @@ 1) { $_COOKIE["adminer_lang"] = $_SERVER["argv"][1]; // Adminer functions read language from cookie include dirname(__FILE__) . "/adminer/include/lang.inc.php";