remove $basepath from global namespace

This commit is contained in:
Art4 2024-12-23 13:34:10 +00:00
parent 22b1f871a8
commit a0e77032cf

View file

@ -47,12 +47,11 @@ use Friendica\Network;
use Friendica\Util;
use Psr\Log\LoggerInterface;
return (function(): array {
/**
* @var string $basepath The base path of the Friendica installation without trailing slash
*/
$basepath = (function() {
return dirname(__FILE__, 2);
})();
$basepath = dirname(__FILE__, 2);
return [
'*' => [
@ -332,3 +331,4 @@ return [
],
],
];
})();