mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 07:36:44 +02:00
Don't report E_DEPRECATED
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@790 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
2
lang.php
2
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";
|
||||
|
Reference in New Issue
Block a user