@@ -1,4 +1,4 @@ |
||
| 1 | 1 | <?php return array ( |
| 2 | - 'version_number' => 1926, |
|
| 3 | - 'git_revision' => 'dbed1d0d908dcc00a4aa7387de2e08b727dccee8', |
|
| 2 | + 'version_number' => 1926, |
|
| 3 | + 'git_revision' => 'dbed1d0d908dcc00a4aa7387de2e08b727dccee8', |
|
| 4 | 4 | ); |
| 5 | 5 | \ No newline at end of file |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php return array ( |
|
| 1 | +<?php return array( |
|
| 2 | 2 | 'version_number' => 1926, |
| 3 | 3 | 'git_revision' => 'dbed1d0d908dcc00a4aa7387de2e08b727dccee8', |
| 4 | 4 | ); |
| 5 | 5 | \ No newline at end of file |
@@ -359,13 +359,13 @@ discard block |
||
| 359 | 359 | |
| 360 | 360 | file_put_contents( |
| 361 | 361 | __DIR__ . '/Entities/' . $classNameEntity . '.php', |
| 362 | - "<?php \n\n" . (string) $classEntity, |
|
| 362 | + "<?php \n\n" . (string)$classEntity, |
|
| 363 | 363 | LOCK_EX |
| 364 | 364 | ); |
| 365 | 365 | |
| 366 | 366 | file_put_contents( |
| 367 | 367 | __DIR__ . '/Entities/' . $classNameEntity . 'Test.php', |
| 368 | - "<?php \n\n use OcTest\Modules\AbstractModuleTest; \n\n" . (string) $classEntityTest, |
|
| 368 | + "<?php \n\n use OcTest\Modules\AbstractModuleTest; \n\n" . (string)$classEntityTest, |
|
| 369 | 369 | LOCK_EX |
| 370 | 370 | ); |
| 371 | 371 | |
@@ -378,7 +378,7 @@ discard block |
||
| 378 | 378 | use Oc\Repository\Exception\RecordNotFoundException; |
| 379 | 379 | use Oc\Repository\Exception\RecordNotPersistedException; |
| 380 | 380 | use Oc\Repository\Exception\RecordsNotFoundException; \n\n" . |
| 381 | - (string) $classRepository, |
|
| 381 | + (string)$classRepository, |
|
| 382 | 382 | LOCK_EX |
| 383 | 383 | ); |
| 384 | 384 | } |
@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | // database placeholder |
| 108 | 108 | |
| 109 | 109 | // productive database with opencaching-tables |
| 110 | -$opt['db']['placeholder']['db'] = ''; // selected by default |
|
| 110 | +$opt['db']['placeholder']['db'] = ''; // selected by default |
|
| 111 | 111 | |
| 112 | 112 | // empty database for temporary table creation |
| 113 | 113 | $opt['db']['placeholder']['tmpdb'] = ''; |
@@ -121,14 +121,14 @@ discard block |
||
| 121 | 121 | $opt['system']['maillog']['syslog_db_user'] = ''; |
| 122 | 122 | $opt['system']['maillog']['syslog_db_password'] = ''; |
| 123 | 123 | $opt['system']['maillog']['syslog_db_table'] = ''; |
| 124 | -$opt['system']['maillog']['syslog_oc_host'] = ''; // 'host_name' column in syslog DB |
|
| 125 | -$opt['system']['maillog']['syslog_mta'] = 'postfix/smtp%'; // 'program' column in syslog DB |
|
| 126 | -$opt['system']['maillog']['column']['id'] = 'id'; // 'ID' |
|
| 127 | -$opt['system']['maillog']['column']['created'] = 'created'; // 'ReceivedAt' |
|
| 124 | +$opt['system']['maillog']['syslog_oc_host'] = ''; // 'host_name' column in syslog DB |
|
| 125 | +$opt['system']['maillog']['syslog_mta'] = 'postfix/smtp%'; // 'program' column in syslog DB |
|
| 126 | +$opt['system']['maillog']['column']['id'] = 'id'; // 'ID' |
|
| 127 | +$opt['system']['maillog']['column']['created'] = 'created'; // 'ReceivedAt' |
|
| 128 | 128 | $opt['system']['maillog']['column']['host_name'] = 'host_name'; // 'FromHost' |
| 129 | -$opt['system']['maillog']['column']['message'] = 'message'; // 'Message' |
|
| 130 | -$opt['system']['maillog']['column']['program'] = 'program'; // 'SysLogTag' |
|
| 131 | -$opt['system']['maillog']['inactivity_warning'] = 30; // warn after N days without new entries |
|
| 129 | +$opt['system']['maillog']['column']['message'] = 'message'; // 'Message' |
|
| 130 | +$opt['system']['maillog']['column']['program'] = 'program'; // 'SysLogTag' |
|
| 131 | +$opt['system']['maillog']['inactivity_warning'] = 30; // warn after N days without new entries |
|
| 132 | 132 | |
| 133 | 133 | /* cookie or session |
| 134 | 134 | * |
@@ -152,7 +152,7 @@ discard block |
||
| 152 | 152 | */ |
| 153 | 153 | $opt['session']['cookiename'] = 'ocdevelopment'; // only with SAVE_COOKIE |
| 154 | 154 | $opt['session']['path'] = '/'; |
| 155 | -$opt['session']['domain'] = ''; // may be overwritten by $opt['domain'][...]['cookiedomain'] |
|
| 155 | +$opt['session']['domain'] = ''; // may be overwritten by $opt['domain'][...]['cookiedomain'] |
|
| 156 | 156 | |
| 157 | 157 | /* Debug level (combine with OR | ) |
| 158 | 158 | * DEBUG_NO = productive use |
@@ -170,7 +170,7 @@ discard block |
||
| 170 | 170 | /* other template options |
| 171 | 171 | * |
| 172 | 172 | */ |
| 173 | -$opt['page']['origin_url'] = 'https://www.opencaching.de/'; // production installation for this OC site |
|
| 173 | +$opt['page']['origin_url'] = 'https://www.opencaching.de/'; // production installation for this OC site |
|
| 174 | 174 | $opt['page']['develsystem'] = false; |
| 175 | 175 | $opt['page']['teampic_url'] = 'https://www.opencaching.de/images/team/'; |
| 176 | 176 | $opt['page']['teammember_url'] = 'https://www.opencaching.de/'; |
@@ -204,7 +204,7 @@ discard block |
||
| 204 | 204 | 'newcaches' => [ |
| 205 | 205 | 'show' => true, |
| 206 | 206 | 'url' => 'https://www.opencaching.de', |
| 207 | - 'urlname' => '', // optional: show other name than the url-domain |
|
| 207 | + 'urlname' => '', // optional: show other name than the url-domain |
|
| 208 | 208 | ], |
| 209 | 209 | ]; |
| 210 | 210 | |
@@ -364,7 +364,7 @@ discard block |
||
| 364 | 364 | |
| 365 | 365 | /* license-related functions |
| 366 | 366 | */ |
| 367 | -$opt['logic']['license']['newusers'] = 2; // see license constants in lib2/logic/const.inc.php |
|
| 367 | +$opt['logic']['license']['newusers'] = 2; // see license constants in lib2/logic/const.inc.php |
|
| 368 | 368 | $opt['logic']['license']['admin'] = true; |
| 369 | 369 | $opt['logic']['license']['disclaimer'] = false; |
| 370 | 370 | $opt['logic']['license']['terms'] = 'articles.php?page=impressum#datalicense'; |
@@ -372,18 +372,18 @@ discard block |
||
| 372 | 372 | |
| 373 | 373 | /* optional APIs |
| 374 | 374 | */ |
| 375 | -$opt['logic']['api']['email_problems']['key'] = ''; // must be set to enable |
|
| 376 | -$opt['logic']['api']['user_inactivity']['key'] = ''; // must be set to enable |
|
| 375 | +$opt['logic']['api']['email_problems']['key'] = ''; // must be set to enable |
|
| 376 | +$opt['logic']['api']['user_inactivity']['key'] = ''; // must be set to enable |
|
| 377 | 377 | |
| 378 | 378 | /* cache report info settings |
| 379 | 379 | */ |
| 380 | 380 | $opt['logic']['cache_reports']['delaydays'] = 2; |
| 381 | -$opt['logic']['cache_reports']['min_processperday'] = 5; // set to 0 to disable |
|
| 382 | -$opt['logic']['cache_reports']['max_processperday'] = 20; // set to 0 to disable |
|
| 381 | +$opt['logic']['cache_reports']['min_processperday'] = 5; // set to 0 to disable |
|
| 382 | +$opt['logic']['cache_reports']['max_processperday'] = 20; // set to 0 to disable |
|
| 383 | 383 | |
| 384 | 384 | /* cronjob |
| 385 | 385 | */ |
| 386 | -$opt['cron']['username'] = 'apache'; // system username for cronjobs |
|
| 386 | +$opt['cron']['username'] = 'apache'; // system username for cronjobs |
|
| 387 | 387 | |
| 388 | 388 | /* generate sitemap.xml and upload to search engines |
| 389 | 389 | * |