diff --git a/system/install/step3.php b/system/install/step3.php index 0437f8b5..29db1b36 100644 --- a/system/install/step3.php +++ b/system/install/step3.php @@ -28,7 +28,7 @@ echo '

Unable to Connect Database, Please make sure database info is correct and try again !

'; }// - $cururl = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; + $cururl = (((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off')|| $_SERVER['SERVER_PORT'] == 443)?'https':'http').'://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; $appurl = str_replace('/install/step3.php', '', $cururl); $appurl = str_replace('?_error=1', '', $appurl); $appurl = str_replace('/system', '', $appurl); diff --git a/system/install/step5.php b/system/install/step5.php index 4e71d92d..5c72f25a 100644 --- a/system/install/step5.php +++ b/system/install/step5.php @@ -29,14 +29,14 @@ To Login Admin Portal:
Use this link - ' . $appurl . '/admin'; ?>
Username: admin
- Password: 123456
+ Password: admin
For security, Delete the install directory inside system folder.