Commit edb5b3b3 authored by tufengqi's avatar tufengqi

finish

parent 596d78be
......@@ -7,6 +7,11 @@ require $app_package_path . 'LoadConfig.php';
$cookie_version = $_COOKIE[VERSION_KEY] ?? '';
$cookie_version = trim($cookie_version);
$version_val = $version_val_no_prefix = '';
if (defined('IS_FORCE_ONLINE') && true === IS_FORCE_ONLINE) {
$is_real_outer_access = true;
} else {
$is_real_outer_access = InitAppHelper::isRealOuterAccess();
}
$is_real_outer_access = ConsoleInitAppHelper::isRealOuterAccess();
$cookie_flag = false;
if ($is_real_outer_access || (!$is_real_outer_access && 'ga' === $cookie_version)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment