|
@@ -154,7 +154,7 @@ function setqrcode($value,$name){
|
|
|
mkdir($dir, 0700,true);
|
|
|
}
|
|
|
$filename = $dir.'/'.$name.'.png';
|
|
|
- \app\common\library\QRcode::($value,$filename,QR_ECLEVEL_L,7);
|
|
|
+ \app\common\library\QRcode::png($value,$filename,QR_ECLEVEL_L,7);
|
|
|
|
|
|
$url = 'http://'.$_SERVER['SERVER_NAME']."/user/".$name.'.png';
|
|
|
return $url;
|