修改catchadmin根目录

This commit is contained in:
JaguarJack
2020-07-11 15:52:30 +08:00
parent e17846571c
commit bcdf6cd9c7
2 changed files with 4 additions and 3 deletions

View File

@@ -5,10 +5,11 @@ use think\helper\Arr;
class CatchAdmin
{
public const NAME = 'catch';
public static $root = 'catch';
public const VERSION = '1.0.0';
/**
*
* @time 2019年11月30日
@@ -16,7 +17,7 @@ class CatchAdmin
*/
public static function directory(): string
{
return app()->getRootPath() . self::NAME . DIRECTORY_SEPARATOR;
return app()->getRootPath() . self::$root . DIRECTORY_SEPARATOR;
}
/**