Commit 51d96be4 by 冷斌

fix bug

parent 73e393b7
......@@ -11,7 +11,7 @@ class MainController extends AdminbaseController {
$role_id=$_SESSION['role_id'];
if($role_id==7 || $role_id==6 || $role_id==8){
$code=M('users')->where("id={$adminid}")->getField('user_activation_key');
$url=get_upload_path('index.php?g=Appapi&m=Reg&a=index&agentid='.$code);
$url=get_upload_path('/index.php?g=Appapi&m=Reg&a=index&agentid='.$code);
$img='data/upload/promoters/qr_'.$code.'.png';
if(!file_exists(SITE_PATH.$img)){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment