set timezone to avoid warnings
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
84679030e0
commit
c3f26a3b37
|
@ -22,7 +22,6 @@ class FeatureContext implements Context
|
|||
|
||||
public function __construct()
|
||||
{
|
||||
date_default_timezone_set('UTC');
|
||||
$baseDir = __DIR__ . '/../../data/';
|
||||
$this->serverDir = $baseDir . 'server/';
|
||||
$this->tmpDownloadDir = $baseDir . 'downloads/';
|
||||
|
|
|
@ -5,6 +5,7 @@ require __DIR__ . '/vendor/autoload.php';
|
|||
|
||||
ini_set('display_errors', '0');
|
||||
ini_set('log_errors', '1');
|
||||
date_default_timezone_set('UTC');
|
||||
|
||||
$application = new NC\Updater\CommandApplication();
|
||||
$application->run();
|
Loading…
Reference in New Issue