1
0
mirror of https://github.com/ZotPrime/zotprime.git synced 2021-11-01 23:17:40 +03:00

Don't return 4.0 EOL error on dev site

This commit is contained in:
Dan Stillman
2018-07-13 17:17:06 -04:00
parent 8a15d120a9
commit a1442010a5

View File

@@ -231,7 +231,7 @@ class SyncController extends Controller {
$this->sessionCheck();
if (!Z_Core::$MC->get('z4_eol_' . $this->userID)) {
if (!Z_ENV_DEV_SITE && !Z_Core::$MC->get('z4_eol_' . $this->userID)) {
$date = date('Y-m-d');
if ($date >= '2018-07-17') {
$ttl = 43200; // 12 hours