if(is_array($this->var['style'])) {
foreach ($this->var['style'] as $key => $val) {
$key = strtoupper($key);
if(!defined($key) && !is_array($val)) {
define($key, $val); //'VERHASH' 自动定义
}
}
}
if(is_array($this->var['style'])) {
foreach ($this->var['style'] as $key => $val) {
$key = strtoupper($key);
if(!defined($key) && !is_array($val)) {
define($key, $val); //'VERHASH' 自动定义
}
}
}