Skip to content

Commit b2aa232

Browse files
committed
userdata config default on
1 parent e760969 commit b2aa232

File tree

2 files changed

+20
-8
lines changed

2 files changed

+20
-8
lines changed

application/config/config.sample.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
$config['app_name'] = "Wavelog";
1616
$config['directory'] = "logbook";
1717
$config['callbook'] = "hamqth"; // Options are hamqth or qrz
18+
1819
$config['datadir'] = null; // default to install directory
1920

2021
/*
@@ -675,4 +676,4 @@
675676
|
676677
*/
677678

678-
// $config['userdata'] = "userdata";
679+
$config['userdata'] = "userdata";

install/config/config.php

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,13 @@
2424
|--------------------------------------------------------------------------
2525
|
2626
| 'table_name' SQL table where log can be found
27-
| 'locator' Default locator used to calculate bearings/distance
27+
| 'locator' Default locator used to calculate bearings/distance
2828
| 'display_freq' Show or Hide frequnecy info
2929
*/
3030

3131
$config['table_name'] = "TABLE_HRD_CONTACTS_V01";
3232
$config['locator'] = "%baselocator%";
33-
$config['display_freq'] = false;
34-
33+
$config['display_freq'] = true;
3534

3635
/*
3736
|--------------------------------------------------------------------------
@@ -40,7 +39,7 @@
4039
|
4140
| 'qrz_username' QRZ.com user login
4241
| 'qrz_password' QRZ.com user password
43-
| 'use_fullname' Get full names from QRZ, may not be GDPR compliant
42+
| 'use_fullname' Get full names from QRZ, may not be GDPR compliant
4443
*/
4544

4645
$config['qrz_username'] = "%qrz_username%";
@@ -354,7 +353,6 @@
354353
|
355354
*/
356355
$config['log_threshold'] = 0;
357-
$config['one_log'] = false;
358356

359357
/*
360358
|--------------------------------------------------------------------------
@@ -367,6 +365,19 @@
367365
*/
368366
$config['log_path'] = '';
369367

368+
/*
369+
|--------------------------------------------------------------------------
370+
| One Logfile (true) or daily logfile?
371+
|--------------------------------------------------------------------------
372+
|
373+
| Leave this setted to false unless you would like to have one big logfile
374+
| at application/logs/ directory.
375+
|
376+
| true == one big log
377+
| false (or non-existant): daily logs
378+
*/
379+
$config['one_log'] = false;
380+
370381
/*
371382
|--------------------------------------------------------------------------
372383
| Log File Extension
@@ -620,7 +631,7 @@
620631
|
621632
*/
622633
$config['time_reference'] = 'UTC';
623-
date_default_timezone_set ( $config['time_reference'] );
634+
date_default_timezone_set($config['time_reference']);
624635

625636
/*
626637
|--------------------------------------------------------------------------
@@ -665,4 +676,4 @@
665676
|
666677
*/
667678

668-
// $config['userdata'] = "userdata";
679+
$config['userdata'] = "userdata";

0 commit comments

Comments
 (0)