master
ELF 5 years ago
parent 9a7b5b0ba4
commit 2a0ceb4f11

@ -176,8 +176,10 @@ class Verify {
$secode = array();
$secode['verify_code'] = $code; // 把校验码保存到session
$secode['verify_time'] = NOW_TIME; // 验证码创建时间
var_dump($secode);die();
session($key.$id, $secode);
var_dump($_SESSION);
die();
header('Cache-Control: private, max-age=0, no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);

@ -1206,7 +1206,6 @@ function session($name='',$value='') {
}
}
}else{ // 设置session
var_dump('ssss');die();
if(strpos($name,'.')){
list($name1,$name2) = explode('.',$name);
if($prefix){

Loading…
Cancel
Save