Installer fixed, prefixes improved, moved conn settings to connect() and some more improvements. MDL-14864

This commit is contained in:
stronk7
2008-05-19 18:02:33 +00:00
parent 6395aa3f98
commit 6d5a22b208
20 changed files with 603 additions and 344 deletions
+1 -8
View File
@@ -237,14 +237,7 @@ global $HTTPSPAGEREQUIRED;
/// detect unsupported upgrade jump as soon as possible - do not change anything, do not use system functions
if (!empty($CFG->version) and $CFG->version < 2007101509) {
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>'.get_string('error').'</title>
</head><body>
<div style="text-align: center; margin-top:5em;background-color:orange;">'.get_string('upgraderequires19', 'error').'</div>
</body></html>';
print_error('upgraderequires19', 'error');
die;
}