Merge pull request #2165 from dg0tm/dev

update sample config
这个提交包含在:
Andreas Kristiansen 2023-06-01 12:59:58 +02:00 提交者 GitHub
当前提交 f0a75b7ac7
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23

查看文件

@ -8,7 +8,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| 'app_name' Name of the App 'Cloudlog' | 'app_name' Name of the App 'Cloudlog'
| 'app_version' Set by the dev team. | 'app_version' Set by the dev team.
| 'directory' directory where cloudlog is installed eg "logger" | 'directory' directory where cloudlog is installed eg "logger"
| 'callbook' Selects which Callbook lookup to use defaults "hamqth" but supports "qrz" | 'callbook' Selects which Callbook lookup to use defaults "hamqth" but supports "qrz"
*/ */
@ -16,9 +16,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
$config['app_name'] = "Cloudlog"; $config['app_name'] = "Cloudlog";
$config['app_version'] = "2.4.3"; $config['app_version'] = "2.4.3";
$config['directory'] = "logbook"; $config['directory'] = "logbook";
$config['callbook'] = "hamqth"; // Options are hamqth or qrz $config['callbook'] = "hamqth"; // Options are hamqth or qrz
$config['datadir'] = null; // default to install directory $config['datadir'] = null; // default to install directory
/* /*
@ -27,8 +25,8 @@ $config['datadir'] = null; // default to install directory
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| 'table_name' SQL table where log can be found | 'table_name' SQL table where log can be found
| 'locator' Default locator used to calculate bearings/distance | 'locator' Default locator used to calculate bearings/distance
| 'display_freq' Show or Hide frequnecy info | 'display_freq' Show or Hide frequnecy info
*/ */
$config['table_name'] = "TABLE_HRD_CONTACTS_V01"; $config['table_name'] = "TABLE_HRD_CONTACTS_V01";
@ -42,11 +40,12 @@ $config['display_freq'] = true;
| |
| 'qrz_username' QRZ.com user login | 'qrz_username' QRZ.com user login
| 'qrz_password' QRZ.com user password | 'qrz_password' QRZ.com user password
| 'use_fullname' Get full names from QRZ, may not be GDPR compliant
*/ */
$config['qrz_username'] = ""; $config['qrz_username'] = "";
$config['qrz_password'] = ""; $config['qrz_password'] = "";
$config['use_fullname'] = false;
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
@ -59,7 +58,6 @@ $config['qrz_password'] = "";
$config['hamqth_username'] = ""; $config['hamqth_username'] = "";
$config['hamqth_password'] = ""; $config['hamqth_password'] = "";
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Authentication | Authentication
@ -67,7 +65,7 @@ $config['hamqth_password'] = "";
| |
| 'use_auth' False turns all authentication off, best used when setting up | 'use_auth' False turns all authentication off, best used when setting up
| 'auth_table' MySQL Database Table defaults "users" | 'auth_table' MySQL Database Table defaults "users"
| 'auth_mode' Minimum user level required 0 = anonymous, 1 = viewer, | 'auth_mode' Minimum user level required 0 = anonymous, 1 = viewer,
| 2 = editor, 3 = api user, 99 = owner | 2 = editor, 3 = api user, 99 = owner
| 'auth_level[]' Defines level titles | 'auth_level[]' Defines level titles
*/ */
@ -568,6 +566,7 @@ $config['compress_output'] = FALSE;
*/ */
$config['time_reference'] = 'UTC'; $config['time_reference'] = 'UTC';
date_default_timezone_set($config['time_reference']); date_default_timezone_set($config['time_reference']);
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Rewrite PHP Short Tags | Rewrite PHP Short Tags