mirror of
https://github.com/friendica/friendica
synced 2025-01-07 05:24:43 +00:00
remove $basepath from global namespace
This commit is contained in:
parent
22b1f871a8
commit
a0e77032cf
1 changed files with 8 additions and 8 deletions
|
@ -47,12 +47,11 @@ use Friendica\Network;
|
||||||
use Friendica\Util;
|
use Friendica\Util;
|
||||||
use Psr\Log\LoggerInterface;
|
use Psr\Log\LoggerInterface;
|
||||||
|
|
||||||
|
return (function(): array {
|
||||||
/**
|
/**
|
||||||
* @var string $basepath The base path of the Friendica installation without trailing slash
|
* @var string $basepath The base path of the Friendica installation without trailing slash
|
||||||
*/
|
*/
|
||||||
$basepath = (function() {
|
$basepath = dirname(__FILE__, 2);
|
||||||
return dirname(__FILE__, 2);
|
|
||||||
})();
|
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'*' => [
|
'*' => [
|
||||||
|
@ -332,3 +331,4 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
})();
|
Loading…
Reference in a new issue