mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-07 15:54:26 +02:00
Avoid warnings in the Jetstream process
This commit is contained in:
parent
dc0dee77d0
commit
2e701df21a
3 changed files with 45 additions and 6 deletions
|
@ -13,6 +13,9 @@ if (php_sapi_name() !== 'cli') {
|
|||
exit();
|
||||
}
|
||||
|
||||
// Ensure that te console is executed from the base path of the installation
|
||||
chdir(dirname(__DIR__));
|
||||
|
||||
require dirname(__DIR__) . '/vendor/autoload.php';
|
||||
|
||||
$container = \Friendica\Core\DiceContainer::fromBasePath(dirname(__DIR__));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue