Skip to content

Commit 2cfc210

Browse files
committed
update: 添加常量BASEPATH控制脚本文件访问
1 parent 946b8f5 commit 2cfc210

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

application/business/ChatTunnelHandler.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
defined('BASEPATH') OR exit('No direct script access allowed');
23

34
use \QCloud_WeApp_SDK\Tunnel\ITunnelHandler as ITunnelHandler;
45
use \QCloud_WeApp_SDK\Tunnel\TunnelService as TunnelService;

application/controllers/Login.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
defined('BASEPATH') OR exit('No direct script access allowed');
23

34
use \QCloud_WeApp_SDK\Auth\LoginService as LoginService;
45

application/controllers/Tunnel.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
defined('BASEPATH') OR exit('No direct script access allowed');
23

34
use \QCloud_WeApp_SDK\Tunnel\TunnelService as TunnelService;
45

application/controllers/User.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
defined('BASEPATH') OR exit('No direct script access allowed');
23

34
use \QCloud_WeApp_SDK\Auth\LoginService as LoginService;
45

application/helpers/global.func.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
defined('BASEPATH') OR exit('No direct script access allowed');
23

34
/**
45
* 调试专用

0 commit comments

Comments
 (0)