install/upgrade.php
changeset 741 a216e412c439
parent 685 17ebe24cdf85
child 790 e210589fb79d
--- a/install/upgrade.php	Sat Nov 15 18:22:13 2008 -0500
+++ b/install/upgrade.php	Sat Nov 15 18:23:25 2008 -0500
@@ -59,7 +59,7 @@
 if ( enano_version() == installer_enano_version() )
 {
   $ui->show_header();
-  $link_home = makeUrl(getConfig('main_page'), false, true);
+  $link_home = makeUrl(get_main_page(), false, true);
   echo '<h3>' . $lang->get('upgrade_err_current_title') . '</h3>' .
        '<p>' . $lang->get('upgrade_err_current_body', array('mainpage_link' => $link_home)) . '</p>' .
        '<p>' . $lang->get('upgrade_err_current_body_para2', array('mainpage_link' => $link_home)) . '</p>';
@@ -255,7 +255,7 @@
   // demote privileges
   $session->logout(USER_LEVEL_ADMIN);
   
-  $link_home = makeUrl(getConfig('main_page'), false, true);
+  $link_home = makeUrl(get_main_page(), false, true);
   echo '<h3>' . $lang->get('upgrade_post_status_finish_title') . '</h3>';
   echo '<p>' . $lang->get('upgrade_post_status_finish_body', array('mainpage_link' => $link_home)) . '</p>';
 }