mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
Config类load方法调整 必须给出完整路径
This commit is contained in:
@@ -46,8 +46,8 @@ class configTest extends \PHPUnit_Framework_TestCase
|
||||
|
||||
public function testLoad()
|
||||
{
|
||||
$file = 'config';
|
||||
$config = array_change_key_case(include APP_PATH . $file . EXT);
|
||||
$file = include APP_PATH . 'config' . EXT;
|
||||
$config = array_change_key_case(include $file);
|
||||
$name = '_name_';
|
||||
$range = '_test_';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user