]> git.mxchange.org Git - friendica.git/commitdiff
simplify basepath
authorArt4 <art4@wlabs.de>
Sun, 22 Dec 2024 18:03:54 +0000 (18:03 +0000)
committerArt4 <art4@wlabs.de>
Sun, 22 Dec 2024 18:03:54 +0000 (18:03 +0000)
static/dependencies.config.php

index 5ca2f1672629efa4b0373a5f331cfe612adf48e8..035862f14d01579ebc1ab62d0f3baba47592a2f5 100644 (file)
@@ -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 [