mirror of
https://github.com/grocy/grocy.git
synced 2025-08-21 04:43:32 +00:00
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
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
<?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';
|
||||
|
||||
?>
|
Reference in New Issue
Block a user