From: moodler Date: Mon, 30 Oct 2006 08:47:55 +0000 (+0000) Subject: SOme misc foxes to installing (fixed icons, removed test that broke etc) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=e2850d158fd5d952bcf1b67b8ebfa0ecfbcf3036;p=moodle.git SOme misc foxes to installing (fixed icons, removed test that broke etc) that I did some time ago and never checked in --- diff --git a/install.php b/install.php index 6bf5fe8b32..c2bc22eda0 100644 --- a/install.php +++ b/install.php @@ -220,7 +220,7 @@ if ($INSTALL['stage'] == DIRECTORY) { error_reporting(0); /// check wwwroot - if (ini_get('allow_url_fopen')) { + if (ini_get('allow_url_fopen') && false) { /// This was not reliable if (($fh = @fopen($INSTALL['wwwrootform'].'/install.php', 'r')) === false) { $errormsg .= get_string('wwwrooterror', 'install').'
'; $INSTALL['wwwrootform'] = $INSTALL['wwwroot']; @@ -354,8 +354,8 @@ if ($INSTALL['stage'] == DATABASE) { } } } else { - /// We have been able to connect properly, just test the database encoding now. It should be Unicode for 1.6 - /// installations (although not mandatory for now). Just show one message about it and allow to skip this test. + /// We have been able to connect properly, just test the database encoding now. + /// It must be Unicode for 1.8 installations. Just show one message about it and allow to skip this test. if (empty($INSTALL['skipdbencodingtest'])) { /// We haven't checked the skip test checkbox, so perform the test $encoding = ''; @@ -455,10 +455,11 @@ if ($nextstage == ADMIN or $INSTALL['stage'] == ADMIN) { $nextstage = ($goforward) ? ENVIRONMENT : DATABASE; fclose($fh); } else { - if ($nextstage != ADMIN) { - $errormsg = get_string('admindirerror', 'install'); - $nextstage = ADMIN; - } + $nextstage = ($goforward) ? ENVIRONMENT : DATABASE; + //if ($nextstage != ADMIN) { + // $errormsg = get_string('admindirerror', 'install'); + // $nextstage = ADMIN; + // } } } @@ -646,7 +647,7 @@ if (isset($_GET['help'])) { echo '
' . get_string('databasesettingssub_mssql', 'install'); /// Link to mssql installation page echo '

'; - echo 'Docs'; + echo 'Docs'; echo get_string('moodledocslink', 'install') . '

'; echo '
'; @@ -660,14 +661,14 @@ if (isset($_GET['help'])) { echo '
'. get_string('databasesettingssub_odbc_mssql', 'install'); /// Link to mssql installation page echo '

'; - echo 'Docs'; + echo 'Docs'; echo get_string('moodledocslink', 'install') . '

'; echo '
'; echo '
' . get_string('databasesettingssub_oci8po', 'install'); /// Link to oracle installation page echo '

'; - echo 'Docs'; + echo 'Docs'; echo get_string('moodledocslink', 'install') . '

'; echo '
'; } else {