Compare commits

..

No commits in common. "f3242717c6d337cc84ecf00181e15e6e353d4810" and "338ef6d716f02161b510b9612b04c165bbbe08c1" have entirely different histories.

6 changed files with 18 additions and 4 deletions

9
public/.htaccess.bak Executable file
View File

@ -0,0 +1,9 @@
<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !^(.*)\.(gif|jpg|jpeg|png|swf|mp4)$ [NC]
RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
</IfModule>

BIN
public/favicon.ico Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@ -12,6 +12,9 @@
// [ 应用入口文件 ]
namespace think;
header("Access-Control-Allow-Origin:*");
header('Access-Control-Allow-Methods:POST');
header('Access-Control-Allow-Headers:x-requested-with, content-type');
require dirname(__DIR__) . '/vendor/autoload.php';
// 执行HTTP应用并响应

2
public/robots.txt Executable file
View File

@ -0,0 +1,2 @@
User-agent: *
Disallow:

View File

@ -25,9 +25,9 @@
<p class="error"><?php echo(strip_tags($msg));?></p>
<p class="detail"></p>
<p class="jump">
页面自动 <a id="href" href="<?php echo(strip_tags($url));?>">跳转</a> 等待时间: <b id="wait"><?php echo(strip_tags($wait));?></b>
页面自动 <a id="href" href="<?php echo($url);?>">跳转</a> 等待时间: <b id="wait"><?php echo($wait);?></b>
</p>
<p><a href="<?php echo(strip_tags($url));?>" class="layui-btn layui-btn-normal layui-btn-lg" style="width: 150px;">立即返回</a></p>
<p><a href="<?php echo($url);?>" class="layui-btn layui-btn-normal layui-btn-lg" style="width: 150px;">立即返回</a></p>
</div>
<script type="text/javascript">
(function(){

View File

@ -33,9 +33,9 @@
<?php } ?>
<p class="detail"></p>
<p class="jump">
页面自动 <a id="href" href="<?php echo(strip_tags($url));?>">跳转</a> 等待时间: <b id="wait"><?php echo(strip_tags($wait));?></b>
页面自动 <a id="href" href="<?php echo($url);?>">跳转</a> 等待时间: <b id="wait"><?php echo($wait);?></b>
</p>
<p><a href="<?php echo(strip_tags($url));?>" class="layui-btn layui-btn-normal layui-btn-lg" style="width: 150px;">立即返回</a></p>
<p><a href="<?php echo($url);?>" class="layui-btn layui-btn-normal layui-btn-lg" style="width: 150px;">立即返回</a></p>
</div>
<script type="text/javascript">
(function(){