no commit message
This commit is contained in:
@@ -84,6 +84,11 @@ final class rockClass
|
||||
$this->adminid = (int)$this->session('adminid',0);
|
||||
$this->adminname= $this->session('adminname');
|
||||
$this->adminuser= $this->session('adminuser');
|
||||
|
||||
$apptheme = $this->get('apptheme');
|
||||
if(strlen($apptheme)==6)$this->savecookie('apptheme', $apptheme);
|
||||
if(!$apptheme)$apptheme = $this->cookie('apptheme');
|
||||
if(strlen($apptheme)==6)$GLOBALS['config']['apptheme']='#'.$apptheme.'';
|
||||
}
|
||||
|
||||
public function iconvsql($str,$lx=0)
|
||||
@@ -251,7 +256,7 @@ final class rockClass
|
||||
$valn = $valarr;
|
||||
if(!is_array($valarr))$valn=explode(',',$valarr);
|
||||
for($i=0;$i<count($arrn);$i++){
|
||||
setcookie(QOM.$arrn[$i],$valn[$i], $time, $path,'');
|
||||
@setcookie(QOM.$arrn[$i],$valn[$i], $time, $path,'');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user