mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 07:36:44 +02:00
Bump version to 4.10-dev
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
include "../adminer/include/version.inc.php";
|
include "../adminer/include/version.inc.php";
|
||||||
|
include "../adminer/include/errors.inc.php";
|
||||||
include "../adminer/include/coverage.inc.php";
|
include "../adminer/include/coverage.inc.php";
|
||||||
|
|
||||||
// disable filter.default
|
// disable filter.default
|
||||||
|
7
adminer/include/errors.inc.php
Normal file
7
adminer/include/errors.inc.php
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
<?php
|
||||||
|
function adminer_errors($errno, $errstr) {
|
||||||
|
return !!preg_match('~^(Trying to access array offset on( value of type)? null|Undefined (array key|property))~', $errstr);
|
||||||
|
}
|
||||||
|
|
||||||
|
error_reporting(6135); // errors and warnings
|
||||||
|
set_error_handler('adminer_errors', E_WARNING);
|
@@ -1,9 +1,2 @@
|
|||||||
<?php
|
<?php
|
||||||
$VERSION = "4.9.4";
|
$VERSION = "4.10.0-dev";
|
||||||
|
|
||||||
function adminer_errors($errno, $errstr) {
|
|
||||||
return !!preg_match('~^(Trying to access array offset on( value of type)? null|Undefined (array key|property))~', $errstr);
|
|
||||||
}
|
|
||||||
|
|
||||||
error_reporting(6135); // errors and warnings
|
|
||||||
set_error_handler('adminer_errors', E_WARNING);
|
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env php
|
#!/usr/bin/env php
|
||||||
<?php
|
<?php
|
||||||
include dirname(__FILE__) . "/adminer/include/version.inc.php";
|
include dirname(__FILE__) . "/adminer/include/version.inc.php";
|
||||||
|
include dirname(__FILE__) . "/adminer/include/errors.inc.php";
|
||||||
include dirname(__FILE__) . "/externals/JsShrink/jsShrink.php";
|
include dirname(__FILE__) . "/externals/JsShrink/jsShrink.php";
|
||||||
|
|
||||||
function add_apo_slashes($s) {
|
function add_apo_slashes($s) {
|
||||||
|
3
lang.php
3
lang.php
@@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env php
|
#!/usr/bin/env php
|
||||||
<?php
|
<?php
|
||||||
error_reporting(6135); // errors and warnings
|
include dirname(__FILE__) . "/adminer/include/errors.inc.php";
|
||||||
|
|
||||||
unset($_COOKIE["adminer_lang"]);
|
unset($_COOKIE["adminer_lang"]);
|
||||||
$_SESSION["lang"] = $_SERVER["argv"][1]; // Adminer functions read language from session
|
$_SESSION["lang"] = $_SERVER["argv"][1]; // Adminer functions read language from session
|
||||||
if (isset($_SESSION["lang"])) {
|
if (isset($_SESSION["lang"])) {
|
||||||
|
Reference in New Issue
Block a user