Set timezone in PHP snippet
There is no clean way to adjust HHVM settings from Travis, see https://github.com/travis-ci/travis-ci/issues/2523 Caused by HHVM configuration no longer including timezone settings, see https://github.com/travis-ci/travis-ci/issues/2812 Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
a42c4b9fab
commit
a5337bf0ea
@ -9,6 +9,9 @@
|
||||
// Let PHP complain about all errors
|
||||
error_reporting(E_ALL);
|
||||
|
||||
// Ensure PHP has set timezone
|
||||
date_default_timezone_set('UTC');
|
||||
|
||||
// Adding phpMyAdmin sources to include path
|
||||
set_include_path(
|
||||
get_include_path() . PATH_SEPARATOR . dirname(realpath("../index.php"))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user