From 31b0572b5d3e0a2425a2b4ae963374b0e1e2409c Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Fri, 3 Jul 2009 09:17:23 +0000 Subject: [PATCH] Don't report E_DEPRECATED git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@790 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- compile.php | 2 +- lang.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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";