aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2008-10-15 17:50:12 +0000
committerpatdenice <patdenice@piwigo.org>2008-10-15 17:50:12 +0000
commit682220bded5b06a15943d2c0b65978fbcf3c43f1 (patch)
tree77f0fd0148158bd1e03c9f9fba058f5fbf72c174 /include
parent847a842e8d4ed1855838f5d8ab514fbf22cb164b (diff)
- Install process now looks like goto/roma.
- Move install.tpl to goto template. - add charset utf8 to fatal error function. - Check php version on install and upgrade, and die if < 5. git-svn-id: http://piwigo.org/svn/trunk@2747 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r--include/functions_html.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php
index 2b3994aa8..0a09ab31a 100644
--- a/include/functions_html.inc.php
+++ b/include/functions_html.inc.php
@@ -671,7 +671,8 @@ function fatal_error($msg)
$msg .= "\n";
}
- $display = "<h1>Piwigo encountered a non recoverable error</h1>
+ $display = "<meta http-equiv='Content-Type' content='text/html; charset=utf-8'>
+<h1>Piwigo encountered a non recoverable error</h1>
<pre style='font-size:larger;background:white;color:red;padding:1em;margin:0;clear:both;display:block;width:auto;height:auto;overflow:auto'>
<b>$msg</b>
$btrace_msg