Respect time zone in default values

This commit is contained in:
Jakub Vrana 2014-02-21 09:09:46 -08:00
parent d53ffc2158
commit 8e4882b801

View file

@ -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';");
}
}