Skip to content
Browse files

Report user errors

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1031 7c3ca157-0c34-0410-bff1-cbf682f78f5c
  • Loading branch information...
1 parent 676e168 commit 1bc77f88d223b1344511ddada1873cbc1476e5f1 jakubvrana committed
Showing with 2 additions and 2 deletions.
  1. +1 −1 compile.php
  2. +1 −1 lang.php
View
2 compile.php
@@ -1,4 +1,5 @@
<?php
+error_reporting(6135); // errors and warnings
include dirname(__FILE__) . "/adminer/include/version.inc.php";
include dirname(__FILE__) . "/externals/jsmin-php/jsmin.php";
@@ -158,7 +159,6 @@ function compile_file($match) {
return call_user_func($match[2], file_get_contents(dirname(__FILE__) . "/$project/$match[1]"));
}
-error_reporting(4343); // errors and warnings
$project = "adminer";
if (file_exists(dirname(__FILE__) . "/" . $_SERVER["argv"][1] . "/index.php")) {
$project = $_SERVER["argv"][1];
View
2 lang.php
@@ -1,5 +1,5 @@
<?php
-error_reporting(4343); // errors and warnings
+error_reporting(6135); // errors and warnings
if (isset($_SERVER["argv"][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 1bc77f8

Please sign in to comment.
Something went wrong with that request. Please try again.