Avoid warnings in the Jetstream process

This commit is contained in:
Michael 2025-05-27 21:26:17 +00:00
parent dc0dee77d0
commit 2e701df21a
3 changed files with 45 additions and 6 deletions

View file

@ -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__));