Project

General

Profile

« Previous | Next » 

Revision 1e45d13f

Added by Christian McDonald over 2 years ago

Rector some direct config gets with pure scalar paths.

View differences:

src/usr/local/www/services_acb.php
36 36
$exp_sep = '||';
37 37

  
38 38
// Encryption password
39
$decrypt_password = $config['system']['acb']['encryption_password'];
39
$decrypt_password = config_get_path('system/acb/encryption_password');
40 40

  
41 41
// Defined username. Username must be sent lowercase. See Redmine #7127 and Netgate Redmine #163
42 42
$username = strtolower($config['system']['acb']['gold_username']);
43
$password = $config['system']['acb']['gold_password'];
43
$password = config_get_path('system/acb/gold_password');
44 44

  
45 45
// Set hostname
46 46
if ($_REQUEST['hostname']) {

Also available in: Unified diff