调整getAppPath

This commit is contained in:
ichynul 2024-04-09 17:15:21 +08:00
parent a2d0ea862f
commit 52691ffad3
No known key found for this signature in database
GPG Key ID: FB4F1E1AAA3F5C1F
1 changed files with 2 additions and 2 deletions

View File

@ -5,13 +5,13 @@ namespace tpext\think;
class App
{
/**
* Undocumented function
* 获取app目录
*
* @return string
*/
public static function getAppPath()
{
return app()->getAppPath();
return app()->getBasePath();
}
/**