diff --git a/src/webim/index.php b/src/webim/index.php index 7cc35a98..8d22b8ee 100644 --- a/src/webim/index.php +++ b/src/webim/index.php @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/webim/install/dbinfo.php b/src/webim/install/dbinfo.php index b4e303d0..122c132a 100644 --- a/src/webim/install/dbinfo.php +++ b/src/webim/install/dbinfo.php @@ -60,10 +60,10 @@ $dbtables_can_update = array( ); function show_install_err($text) { - global $page, $version, $errors; + global $page, $version, $errors, $webimroot; $page = array( 'version' => $version, - 'localeLinks' => get_locale_links("/webim/install/index.php") + 'localeLinks' => get_locale_links("$webimroot/install/index.php") ); $errors = array($text); start_html_output(); diff --git a/src/webim/install/index.php b/src/webim/install/index.php index 4c19456c..980d1198 100644 --- a/src/webim/install/index.php +++ b/src/webim/install/index.php @@ -17,7 +17,7 @@ require('dbinfo.php'); $page = array( 'version' => $version, - 'localeLinks' => get_locale_links("/webim/install/index.php") + 'localeLinks' => get_locale_links("$webimroot/install/index.php") ); @@ -113,7 +113,7 @@ function check_columns($link) { } function check_status() { - global $page; + global $page, $webimroot; $link = check_connection(); if(!$link) { return; @@ -138,7 +138,7 @@ function check_status() { $page['nextstep'] = getstring("installed.login_link"); $page['nextnotice'] = getstring("installed.notice"); - $page['nextstepurl'] = "/webim/"; + $page['nextstepurl'] = "$webimroot/"; mysql_close($link); } diff --git a/src/webim/install/view_index.php b/src/webim/install/view_index.php index 526b1b3b..2cccd415 100644 --- a/src/webim/install/view_index.php +++ b/src/webim/install/view_index.php @@ -17,10 +17,10 @@ - + - +
+ |
0 ) {
@@ -63,7 +63,7 @@
-
|
+ | 0 ) { @@ -67,14 +67,14 @@ | |||
+ | ||||
- |
|
"> | "> |
+ | 0 ) { @@ -69,38 +69,38 @@ |