Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Installer: Prevent crash when views directory is not writable
Use plain PHP templates instead of Blade templates so there is nothing that needs to be written. closes #376
- Loading branch information
1 parent
c72bdc8
commit 5e22458
Showing
6 changed files
with
18 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<h2>Hold Up!</h2> | ||
|
||
<p>These errors must be resolved before you can continue the installation. If you're having trouble, get help on the <a href="http://flarum.org/docs/installation" target="_blank">Flarum website</a>.</p> | ||
|
||
<div class="Errors"> | ||
<?php foreach ($errors as $error): ?> | ||
<div class="Error"> | ||
<h3 class="Error-message"><?php echo $error['message']; ?></h3> | ||
<?php if (! empty($error['detail'])): ?> | ||
<p class="Error-detail"><?php echo $error['detail']; ?></p> | ||
<?php endif; ?> | ||
</div> | ||
<?php endforeach; ?> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5e22458
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ha! I like that solution. :)