mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 17:45:39 +00:00
* 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
13 lines
256 B
PHP
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';
|
|
|
|
?>
|