Commit 4d45df30 authored by Nemo Ma's avatar Nemo Ma Committed by GitHub

Merge pull request #135 from luluxia/nachster

fix: 补充前端接口判断条件
parents 5a1536e0 084a4b87
...@@ -162,7 +162,7 @@ if(isset($clbpara['dialogue'])) ...@@ -162,7 +162,7 @@ if(isset($clbpara['dialogue']))
$dialogue_id = $clbpara['dialogue']; $dialogue_id = $clbpara['dialogue'];
} }
if (!strstr($_SERVER['HTTP_REFERER'], 'php')) { if (!strstr($_SERVER['HTTP_REFERER'], 'php') && $_SERVER['HTTP_REFERER'] != '') {
include './api.php'; include './api.php';
} else { } else {
include template('game'); 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