Explorar o código

remove default timezone #411

walkor %!s(int64=6) %!d(string=hai) anos
pai
achega
4e5c24073b
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  1. 0 4
      Lib/Constants.php

+ 0 - 4
Lib/Constants.php

@@ -12,10 +12,6 @@
  * @license   http://www.opensource.org/licenses/mit-license.php MIT License
  */
 
-// Date.timezone
-if (!ini_get('date.timezone')) {
-    date_default_timezone_set('Asia/Shanghai');
-}
 // Display errors.
 ini_set('display_errors', 'on');
 // Reporting all.