mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Don't check file permissions on every request, handle failures (#9264)
* Don't check file permissions on every request, handle failures Improve error page visually * only print minimal mkdir * invert file_exists check, whoops * docblock * revert accidental changes * rename variable * Change database errors to use the new layout * Add support url to the default layout * Replaced \n for && in fix for user perms * fix web output
This commit is contained in:
+1
-1
@@ -95,7 +95,7 @@ if (str_contains(`tail config.php`, '?>')) {
|
||||
|
||||
// Composer checks
|
||||
if (!file_exists('vendor/autoload.php')) {
|
||||
print_fail('Composer has not been run, dependencies are missing', 'composer install --no-dev');
|
||||
print_fail('Composer has not been run, dependencies are missing', './scripts/composer_wrapper.php install --no-dev');
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user