Navigation Menu

Skip to content

Commit

Permalink
Don't report E_DEPRECATED
Browse files Browse the repository at this point in the history
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@790 7c3ca157-0c34-0410-bff1-cbf682f78f5c
  • Loading branch information
jakubvrana committed Jul 3, 2009
1 parent 61640ee commit 31b0572
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compile.php
Expand Up @@ -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];
Expand Down
2 changes: 1 addition & 1 deletion lang.php
@@ -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";
Expand Down

0 comments on commit 31b0572

Please sign in to comment.