Bläddra i källkod

remove default timezone #411

walkor 6 år sedan
förälder
incheckning
4e5c24073b
1 ändrade filer med 0 tillägg och 4 borttagningar
  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.