Cloudlog.php Configuration File - magicbug/Cloudlog GitHub Wiki

Information Relating to application/config/cloudlog.php

Basics

The configuration file application/config/cloudlog.php is used for setting any fixed-configuration options that Cloudlog might require, the small number which are in config.php will be shifted to this file over time.

Configuration Items

  • $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

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/config.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