kopia lustrzana https://github.com/magicbug/Cloudlog
Added documentation how to get rid of `index.php` in an URL
rodzic
dc8bf78512
commit
b0e8915786
|
@ -8,4 +8,13 @@ The configuration file `application/config/cloudlog.php` is used for setting any
|
|||
* `$config['show_time']` - This controls whether users who are not logged in can see QSO times, the default is set to false.
|
||||
* `$config['measurement_base']` - This allows you to set unit of measurement used for showing bearings, the default is `M` which is miles, however, you can set `K` for kilometres and `N` for nautic miles.
|
||||
* `$config['qso_date_format']` - changing this allows you to change the date format displayed this uses the php date() format, see notes in the file for details.
|
||||
* `$config['qso_auto_qth']` - Setting this to TRUE allows the QTH locator to be pre-filled based on the person's location when creating new QSO. OSM's Nominatim API is being used for that purpose
|
||||
* `$config['qso_auto_qth']` - Setting this to TRUE allows the QTH locator to be pre-filled based on the person's location when creating new QSO. OSM's Nominatim API is being used for that purpose
|
||||
|
||||
## Remove `index.php` from your URL
|
||||
To get rid of the `index.php` in your URL (using Apache with mod_rewrite) you have to rename the example file `.htaccess.sample` to `.htaccess` in the root directory of your server.
|
||||
You also have to change one line in the configuration file `application/config/cloudlog.php` to `$config['index_page'] = '';`
|
||||
|
||||
| URL | Config | Example URL |
|
||||
|-----|--------|----------|
|
||||
| default | `$config['index_page'] = 'index.php';` | [https://cloudlog.example.com/index.php/logbook](#) |
|
||||
| mod_rewrite | `$config['index_page'] = '';` | [https://cloudlog.example.com/logbook](#) |
|
Ładowanie…
Reference in New Issue