X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Finstall.php;h=ae462914c84389ac8ee5ab65301183eff91dbff5;hb=d0dfcc71a82ac423db68a12fd2eaf6d13cb18e1f;hp=aa891dba752b390c495702afa61bb8b93d2d33b8;hpb=4a473611163a12b48d3bbad71dc54765be8789f9;p=friendica.git diff --git a/mod/install.php b/mod/install.php index aa891dba75..ae462914c8 100755 --- a/mod/install.php +++ b/mod/install.php @@ -1,6 +1,7 @@ config['system']['theme'] = "../install"; - $a->theme['stylesheet'] = App::get_baseurl()."/view/install/style.css"; + $a->theme['stylesheet'] = System::baseUrl()."/view/install/style.css"; global $install_wizard_pass; if (x($_POST, 'pass')) { @@ -203,7 +204,7 @@ function install_content(App $a) { '$next' => t('Next'), '$reload' => t('Check again'), '$phpath' => $phpath, - '$baseurl' => App::get_baseurl(), + '$baseurl' => System::baseUrl(), )); return $o; }; break; @@ -237,7 +238,7 @@ function install_content(App $a) { '$lbl_10' => t('Please select a default timezone for your website'), - '$baseurl' => App::get_baseurl(), + '$baseurl' => System::baseUrl(), '$phpath' => $phpath, @@ -277,7 +278,7 @@ function install_content(App $a) { '$timezone' => field_timezone('timezone', t('Please select a default timezone for your website'), $timezone, ''), '$language' => array('language', t('System Language:'), 'en', t('Set the default language for your Friendica installation interface and to send emails.'), $lang_choices), - '$baseurl' => App::get_baseurl(), + '$baseurl' => System::baseUrl(), @@ -479,10 +480,10 @@ function check_htaccess(&$checks) { $status = true; $help = ""; if (function_exists('curl_init')) { - $test = fetch_url(App::get_baseurl()."/install/testrewrite"); + $test = fetch_url(System::baseUrl()."/install/testrewrite"); if ($test != "ok") { - $test = fetch_url(normalise_link(App::get_baseurl()."/install/testrewrite")); + $test = fetch_url(normalise_link(System::baseUrl()."/install/testrewrite")); } if ($test != "ok") { @@ -542,7 +543,7 @@ function load_database($db) { } function what_next() { - $baseurl = App::get_baseurl(); + $baseurl = System::baseUrl(); return t('

What next

') ."

".t('IMPORTANT: You will need to [manually] setup a scheduled task for the poller.')