Permalink
Browse files

Don't report E_DEPRECATED

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@790 7c3ca157-0c34-0410-bff1-cbf682f78f5c
  • Loading branch information...
1 parent 61640ee commit 31b0572b5d3e0a2425a2b4ae963374b0e1e2409c jakubvrana committed Jul 3, 2009
Showing with 2 additions and 2 deletions.
  1. +1 −1 compile.php
  2. +1 −1 lang.php
View
@@ -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
@@ -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";

0 comments on commit 31b0572

Please sign in to comment.