X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fuser.phh;h=305dd3434825d0d9c0bc67c5879dbb68b795ce4d;hb=c0cc54c9494acf8f43b92a0517d32d38b5006aa0;hp=d8230b4b088bba9977d0d72ef2283e4cd4a34eae;hpb=c75222f24ff3f47a664f20f5971048d58f20c492;p=brisk.git diff --git a/web/Obj/user.phh b/web/Obj/user.phh index d8230b4..305dd34 100644 --- a/web/Obj/user.phh +++ b/web/Obj/user.phh @@ -707,7 +707,8 @@ class User { } } } - if ($G_with_splash && + // if ($G_with_splash && + if ($this->is_auth() && (! $this->is_appr()) && $G_with_splash && ($splashdate < $curtime - $G_splash_interval || $splashdate > $curtime)) { $is_super = $this->flags & USER_FLAG_TY_SUPER; @@ -830,7 +831,7 @@ function stream_init($init_string, $enc, $header, &$header_out, &$body, $get, $p $this->rd_data_set($curtime, $transp, $enc, $stat, $subst, $step, $from); - $ret = $this->rd_transp->init($enc, $header, &$header_out, $init_string, self::base_get(), $this->rd_scristp); + $ret = $this->rd_transp->init($enc, $header, $header_out, $init_string, self::base_get(), $this->rd_scristp); if ($ret === FALSE) { return FALSE;