1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-07 07:06:45 +02:00

Bump version to 4.10-dev

This commit is contained in:
Peter Knut
2024-10-17 00:24:53 +02:00
committed by Jakub Vrana
parent 72ed1b5cdc
commit d4f99d5cdc
5 changed files with 12 additions and 9 deletions

View File

@@ -1,5 +1,6 @@
<?php
include "../adminer/include/version.inc.php";
include "../adminer/include/errors.inc.php";
include "../adminer/include/coverage.inc.php";
// disable filter.default

View 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);

View File

@@ -1,9 +1,2 @@
<?php
$VERSION = "4.9.4";
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);
$VERSION = "4.10.0-dev";

View File

@@ -1,6 +1,7 @@
#!/usr/bin/env php
<?php
include dirname(__FILE__) . "/adminer/include/version.inc.php";
include dirname(__FILE__) . "/adminer/include/errors.inc.php";
include dirname(__FILE__) . "/externals/JsShrink/jsShrink.php";
function add_apo_slashes($s) {

View File

@@ -1,6 +1,7 @@
#!/usr/bin/env php
<?php
error_reporting(6135); // errors and warnings
include dirname(__FILE__) . "/adminer/include/errors.inc.php";
unset($_COOKIE["adminer_lang"]);
$_SESSION["lang"] = $_SERVER["argv"][1]; // Adminer functions read language from session
if (isset($_SESSION["lang"])) {