diff --git a/webapp/controller/BaseController.class.php b/webapp/controller/BaseController.class.php index 2c42ec97..8a211f92 100644 --- a/webapp/controller/BaseController.class.php +++ b/webapp/controller/BaseController.class.php @@ -12,6 +12,9 @@ class BaseController { global $_myself; $_myself = $this; $this->timeZone = 0; + if (SERVER_ENV == _TEST) { + $this->timeZone = 8; + } $this->nowtime = phpcommon\getNowTime(); }