mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 07:36:44 +02:00
Respect time zone in default values
This commit is contained in:
@@ -17,12 +17,12 @@ if ($_POST && !$error) {
|
||||
echo "-- Adminer $VERSION " . $drivers[DRIVER] . " dump
|
||||
|
||||
" . ($jush != "sql" ? "" : "SET NAMES utf8;
|
||||
" . ($_POST["data_style"] ? "SET foreign_key_checks = 0;
|
||||
SET time_zone = '+00:00';
|
||||
" . ($_POST["data_style"] ? "SET foreign_key_checks = 0;
|
||||
SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
|
||||
" : "") . "
|
||||
");
|
||||
if ($jush == "sql" && $_POST["data_style"]) {
|
||||
if ($jush == "sql") {
|
||||
$connection->query("SET time_zone = '+00:00';");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user