From: Art4 Date: Sun, 22 Dec 2024 18:03:54 +0000 (+0000) Subject: simplify basepath X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=704ddc2089143cb309fe4c83ca4e9f303936cb1d;p=friendica.git simplify basepath --- diff --git a/static/dependencies.config.php b/static/dependencies.config.php index 5ca2f16726..035862f14d 100644 --- a/static/dependencies.config.php +++ b/static/dependencies.config.php @@ -47,10 +47,11 @@ use Friendica\Network; use Friendica\Util; use Psr\Log\LoggerInterface; +/** + * @var string $basepath The base path of the Friendica installation without trailing slash + */ $basepath = (function() { - $path = dirname(__FILE__, 2); - - return ($realpath = realpath($path)) ? $realpath : $path; + return dirname(__FILE__, 2); })(); return [