diff --git a/plus/qrcode.php b/plus/qrcode.php index 1d42d70f..dda64dbc 100755 --- a/plus/qrcode.php +++ b/plus/qrcode.php @@ -7,7 +7,10 @@ $action = isset($action)? $action : ''; $type = isset($type)? RemoveXSS(HtmlReplace($type,3)) : ''; $id = (isset($id) && is_numeric($id)) ? $id : 0; -if ( !in_array($type,array('list','arc','index')) ) $url = "http://2v.dedecms.com"; +if ( !in_array($type,array('list','arc','index')) ){ + $url = "http://2v.dedecms.com"; + exit("error requests"); +} if ( $action=='get_qrcode' ) {