@@ -29,8 +29,9 @@ |
||
29 | 29 | */ |
30 | 30 | public function test($filePath, $exception = null) |
31 | 31 | { |
32 | - if (!defined('ROOT_PATH')) |
|
33 | - define('ROOT_PATH', realpath(__DIR__.'/../')); |
|
32 | + if (!defined('ROOT_PATH')) { |
|
33 | + define('ROOT_PATH', realpath(__DIR__.'/../')); |
|
34 | + } |
|
34 | 35 | |
35 | 36 | $parser = new ParseExpertConfig(); |
36 | 37 |