修改catchadmin根目录
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user