Commit 084a4b87 authored by luluxia's avatar luluxia

fix: 补充前端接口判断条件

parent 5a1536e0
......@@ -162,7 +162,7 @@ if(isset($clbpara['dialogue']))
$dialogue_id = $clbpara['dialogue'];
}
if (!strstr($_SERVER['HTTP_REFERER'], 'php')) {
if (!strstr($_SERVER['HTTP_REFERER'], 'php') && $_SERVER['HTTP_REFERER'] != '') {
include './api.php';
} else {
include template('game');
......
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