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:
Tony Murray
2018-10-18 21:08:46 -05:00
committed by GitHub
parent aa14f86c2d
commit 607a567090
13 changed files with 382 additions and 229 deletions
+1 -1
View File
@@ -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;
}