fix installation
This commit is contained in:
parent
1c18f6091d
commit
a502919165
@ -28,7 +28,7 @@
|
|||||||
echo '<h4 style="color: red;"> Unable to Connect Database, Please make sure database info is correct and try again ! </h4>';
|
echo '<h4 style="color: red;"> Unable to Connect Database, Please make sure database info is correct and try again ! </h4>';
|
||||||
}//
|
}//
|
||||||
|
|
||||||
$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('/install/step3.php', '', $cururl);
|
||||||
$appurl = str_replace('?_error=1', '', $appurl);
|
$appurl = str_replace('?_error=1', '', $appurl);
|
||||||
$appurl = str_replace('/system', '', $appurl);
|
$appurl = str_replace('/system', '', $appurl);
|
||||||
|
@ -29,14 +29,14 @@
|
|||||||
To Login Admin Portal:<br>
|
To Login Admin Portal:<br>
|
||||||
Use this link -
|
Use this link -
|
||||||
<?php
|
<?php
|
||||||
$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/step5.php', '', $cururl);
|
$appurl = str_replace('/install/step5.php', '', $cururl);
|
||||||
$appurl = str_replace('/system', '', $appurl);
|
$appurl = str_replace('/system', '', $appurl);
|
||||||
echo '<a href="' . $appurl . '/admin">' . $appurl . '/admin</a>';
|
echo '<a href="' . $appurl . '/admin">' . $appurl . '/admin</a>';
|
||||||
?>
|
?>
|
||||||
<br>
|
<br>
|
||||||
Username: admin<br>
|
Username: admin<br>
|
||||||
Password: 123456<br>
|
Password: admin<br>
|
||||||
For security, Delete the <b>install</b> directory inside system folder.
|
For security, Delete the <b>install</b> directory inside system folder.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user