From 3a491b879c243f8377d6ae0e8452fc2c72518427 Mon Sep 17 00:00:00 2001 From: Art4 Date: Mon, 23 Dec 2024 13:35:46 +0000 Subject: [PATCH] Replace more calls of dirname() with $basepath --- static/dependencies.config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/dependencies.config.php b/static/dependencies.config.php index 335b7619e5..7e11198232 100644 --- a/static/dependencies.config.php +++ b/static/dependencies.config.php @@ -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 ] ],