Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Commit

Permalink
Change default timezone value to UTC instead get from date_default_ti…
Browse files Browse the repository at this point in the history
…mezone_get()
  • Loading branch information
rolies106 committed Sep 18, 2013
1 parent caa2d62 commit 879f916
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/ResqueBoard/Config/Bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@

define('URL_ROOT', $_SERVER['SCRIPT_NAME'] === '/index.php' ? '/' : (pathinfo($_SERVER['SCRIPT_NAME'], PATHINFO_DIRNAME) . '/'));

date_default_timezone_set(isset($settings['timezone']) ? $settings['timezone'] : date_default_timezone_get());
date_default_timezone_set(isset($settings['timezone']) ? $settings['timezone'] : 'UTC');

/**
* List of events type
Expand Down
2 changes: 0 additions & 2 deletions src/ResqueBoard/webroot/index.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<?php
date_default_timezone_set('UTC');

/**
* Index file
*
Expand Down

0 comments on commit 879f916

Please sign in to comment.