grocy/public/index.php
Marc Ole Bulling 3fc14db5d5
Check if all dependencies are installed (#639)
* Added check if all dependencies are installed and config.php/config-dist.php exists

* Also check for php modules

* Uncomment code that was accidentally disabled for debug purposes
2020-03-22 17:55:23 +01:00

13 lines
256 B
PHP

<?php
require_once __DIR__ . '/../helpers/PrerequisiteChecker.php';
try {
(new PrerequisiteChecker)->checkRequirements();
} catch (ERequirementNotMet $e) {
die("Unable to run grocy: " . $e->getMessage());
}
require_once __DIR__ . '/../app.php';
?>