mirror of
https://github.com/hauke68/Magallanes.git
synced 2025-09-16 13:50:17 +02:00
Merge pull request #220 from asiermarques/asiermarques-patch-1
Fixing a little bug in php<5.5
This commit is contained in:
commit
132539da91
4
bin/mage
4
bin/mage
@ -8,8 +8,8 @@
|
|||||||
* For the full copyright and license information, please view the LICENSE
|
* For the full copyright and license information, please view the LICENSE
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
*/
|
*/
|
||||||
|
$timezone = ini_get('date.timezone');
|
||||||
if (empty(ini_get('date.timezone'))) {
|
if (empty($timezone)) {
|
||||||
date_default_timezone_set('UTC');
|
date_default_timezone_set('UTC');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user