#1297: timezone configuration setting was inoperant.

SVN:trunk[4355]
This commit is contained in:
Denis Flaven
2016-08-29 12:47:06 +00:00
parent c5957f1146
commit 49f82e6377
3 changed files with 2 additions and 1 deletions

View File

@@ -47,6 +47,7 @@ require_once(APPROOT.'/setup/setuppage.class.inc.php');
require_once(APPROOT.'/setup/moduleinstaller.class.inc.php');
ini_set('max_execution_time', max(3600, ini_get('max_execution_time'))); // Under Windows SQL/backup operations are part of the timeout and require extra time
date_default_timezone_set('Europe/Paris'); // Just to avoid a warning if the timezone is not set in php.ini
$sMemoryLimit = trim(ini_get('memory_limit'));
if (empty($sMemoryLimit))

View File

@@ -36,6 +36,7 @@ ini_set('max_execution_time', max(240, ini_get('max_execution_time')));
// While running the setup it is desirable to see any error that may happen
ini_set('display_errors', true);
ini_set('display_startup_errors', true);
date_default_timezone_set('Europe/Paris'); // Just to avoid a warning if the timezone is not set in php.ini
/////////////////////////////////////////////////////////////////////
// Fake functions to protect the first run of the installer

View File

@@ -30,7 +30,6 @@ require_once(APPROOT."setup/runtimeenv.class.inc.php");
define('INSTALL_LOG_FILE', APPROOT.'/log/setup.log');
date_default_timezone_set('Europe/Paris');
class SetupPage extends NiceWebPage
{
public function __construct($sTitle)