forked from leftypol/leftypol
Improved large file size error message.
This commit is contained in:
parent
2eddc7a4ee
commit
455f0c2602
4 changed files with 25 additions and 6 deletions
|
@ -15,7 +15,7 @@
|
|||
}
|
||||
|
||||
function error($message) {
|
||||
die(Element('page.html', Array('index' => ROOT, 'title'=>'Error', 'subtitle'=>'An error has occured.', 'body'=>"<h1>$message</h1><p style=\"text-align:center;\"><a href=\"" . ROOT . FILE_INDEX . "\">Go back</a>.</p>")));
|
||||
die(Element('page.html', Array('index' => ROOT, 'title'=>'Error', 'subtitle'=>'An error has occured.', 'body'=>"<center><h2>$message</h2></center><p style=\"text-align:center;\"><a href=\"" . ROOT . FILE_INDEX . "\">Go back</a>.</p>")));
|
||||
}
|
||||
|
||||
class Post {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue