forked from snowair/think-phpunit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinclude.php
More file actions
17 lines (16 loc) · 1000 Bytes
/
include.php
File metadata and controls
17 lines (16 loc) · 1000 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2014 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
if (php_sapi_name()=='cli') {
include_once __DIR__.DIRECTORY_SEPARATOR.'Think'.DIRECTORY_SEPARATOR.'Controller.php';
include_once __DIR__.DIRECTORY_SEPARATOR.'Think'.DIRECTORY_SEPARATOR.'View.class.php';
include_once __DIR__.DIRECTORY_SEPARATOR.'Think'.DIRECTORY_SEPARATOR.'PhpUnit.php';
include_once __DIR__.DIRECTORY_SEPARATOR.'Think'.DIRECTORY_SEPARATOR.'DatabaseTransaction.php';
}