]> git.mxchange.org Git - friendica.git/commitdiff
Replace more calls of dirname() with $basepath
authorArt4 <art4@wlabs.de>
Mon, 23 Dec 2024 13:35:46 +0000 (13:35 +0000)
committerArt4 <art4@wlabs.de>
Mon, 23 Dec 2024 13:35:46 +0000 (13:35 +0000)
static/dependencies.config.php

index 335b7619e5f38c9b7bf2d8ccff6d9414116416f7..7e111982320f93e23869b5697ec47b7686f44fa3 100644 (file)
@@ -72,13 +72,13 @@ return (function(): array {
                        ['getPath', [], Dice::CHAIN_CALL],
                ],
                'constructParams' => [
-                       dirname(__FILE__, 2),
+                       $basepath,
                        $_SERVER
                ]
        ],
        Util\BasePath::class         => [
                'constructParams' => [
-                       dirname(__FILE__, 2),
+                       $basepath,
                        $_SERVER
                ]
        ],