调整getAppPath
This commit is contained in:
parent
a2d0ea862f
commit
52691ffad3
|
@ -5,13 +5,13 @@ namespace tpext\think;
|
|||
class App
|
||||
{
|
||||
/**
|
||||
* Undocumented function
|
||||
* 获取app目录
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public static function getAppPath()
|
||||
{
|
||||
return app()->getAppPath();
|
||||
return app()->getBasePath();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue