<?php
include "../adminer/include/version.inc.php";
+include "../adminer/include/errors.inc.php";
include "../adminer/include/coverage.inc.php";
// disable filter.default
--- /dev/null
+<?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);
<?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";
#!/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) {
#!/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"])) {