Skip to content

Commit

Permalink
修正了沉水发现的一个小问题;
Browse files Browse the repository at this point in the history
  • Loading branch information
rainbowsoft committed Sep 13, 2023
1 parent 0ca0eb0 commit 0fba2f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zb_system/function/lib/zblogphp.php
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@ public function Initialize()
}

/*if(isset($_COOKIE['timezone'])){
$tz=GetVars('timezone','COOKIE');
$tz=GetVars('timezone', 'COOKIE');
if(is_numeric($tz)){
$tz=sprintf('%+d',-$tz);
date_default_timezone_set('Etc/GMT' . $tz);
Expand Down Expand Up @@ -4837,7 +4837,7 @@ public function CheckSiteClosed()
public function RedirectInstall()
{
if (!$this->option['ZC_DATABASE_TYPE']) {
$s = $_SERVER['QUERY_STRING'];
$s = GetVars('QUERY_STRING', 'GET');
$s = empty($s) ? '' : '?' . $s;
Redirect302('./zb_install/index.php' . $s);
}
Expand Down

0 comments on commit 0fba2f7

Please sign in to comment.