FRAMEWORK OK
* @throws \Exception */ public static function getApplication() { if (!self::$application) { throw new \Exception('Failed to start application', 500); } return self::$application; }require_once __DIR__ . '/includes/defines.php';
require_once __DIR__ . '/includes/framework.php';
echo "FRAMEWORK OK<br>";
$app = \Joomla\CMS\Factory::getApplication('site');
echo "APP OK<br>";|
Exception
|
|---|
Exception:
Failed to start application
at /hp/cq/ab/hc/www/j5-maus/libraries/src/Factory.php:158
at Joomla\CMS\Factory::getApplication('site')
(/hp/cq/ab/hc/www/j5-maus/index.php:11)
|