mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-22 00:07:14 +00:00
Installer now detects the directory and URL for the installation and fills them in for you.
This commit is contained in:
parent
b868695767
commit
ca8b8e7eb8
@ -100,8 +100,8 @@ if($_POST) {
|
||||
|
||||
<fieldset>
|
||||
<legend>Configuration Settings</legend>
|
||||
<label for="directory">Directory</label><input type="text" id="directory" value="cloudlog" class="input_text" name="directory" />
|
||||
<label for="websiteurl">Website URL</label><input type="text" id="websiteurl" value="http://localhost/cloudlog" class="input_text" name="websiteurl" />
|
||||
<label for="directory">Directory</label><input type="text" id="directory" value="<?php echo str_replace("/install/", "", $_SERVER['REQUEST_URI']); ?>" class="input_text" name="directory" />
|
||||
<label for="websiteurl">Website URL</label><input type="text" id="websiteurl" value="http://<?php echo $_SERVER['HTTP_HOST'].str_replace("/install/", "", $_SERVER['REQUEST_URI']); ?>" class="input_text" name="websiteurl" />
|
||||
<label for="locator">Default Gridsquare</label><input type="text" id="locator" value="IO91JS" class="input_text" name="locator" />
|
||||
</fieldset>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user