Improved large file size error message.
This commit is contained in:
1 parent
2eddc7a4ee
commit
455f0c2602
4 files changed
+25
-6
No files matched your search
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user