diff --git a/config.ini b/config.ini index cc8e145..748ce7b 100644 --- a/config.ini +++ b/config.ini @@ -1,5 +1,5 @@ [main] -debug = on ; The output in the browser window for more information +debug = TRUE ; The output in the browser window for more information cache_filename = "/tmp/provision_sccp_resolver.cache" default_language = English_United_States log_type = SYSLOG ; SYSLOG|STDERR|STDOUT|NULL|FILE @@ -10,10 +10,10 @@ auto_sign = FALSE auto_encrypt = FALSE [security] -cert_ca = -cert_priv = -cert_pub = -hash = +cert_ca = NULL +cert_priv = NULL +cert_pub = NULL +hash = NULL [subdirs] tftproot = tftpboot @@ -29,10 +29,10 @@ languages = languages sshUserId = cisco sshPassword = cisco ipAddress = ipv4|ipv6 ; ipv4 | ipv4 | ipv4|ipv6 | ipv6|ipv4 -datetime.template=M/D/YA -datetime.timezone=W. Europe Standard/Daylight Time -datetime.ipaddress=10.x.x.x -datetime.mode=Unicast +datetime.template = M/D/YA +datetime.timezone = W. Europe Standard/Daylight Time +datetime.ipaddress = 10.x.x.x +datetime.mode = Unicast members.myhost.hostname = myhost.domain.com members.myhost.ipv4 = 10.x.x.x members.myhost.ipv6 = 2001:470::x:x @@ -40,16 +40,16 @@ members.myhost.port = 2000 ;srts. ;common. ;vendor. -locale.country=United_States -locale.language=English_United_States -locale.langcode=en_US -locale.charset=utf-8 -urls.secury = FALSE -urls.information= -urls.authentication= -urls.services= -urls.direcory= -urls.messages= -urls.proxyserver= +locale.country = United_States +locale.language = English_United_States +locale.langcode = en_US +locale.charset = utf-8 +urls.security = FALSE +urls.information = NULL +urls.authentication = NULL +urls.services = NULL +urls.direcory = NULL +urls.messages = NULL +urls.proxyserver = NULL ;vpn. ;phoneservices. diff --git a/lib/config.php b/lib/config.php index 67bbe1b..24581cc 100644 --- a/lib/config.php +++ b/lib/config.php @@ -5,10 +5,10 @@ include_once("utils.php"); $base_path = !empty($_SERVER['DOCUMENT_ROOT']) ? realpath($_SERVER['DOCUMENT_ROOT'] . "/../"): realpath(getcwd()."/../"); $base_config = Array( 'main' => Array( - 'debug' => 1, + 'debug' => TRUE, 'default_language' => 'English_United_States', 'log_type' => "NULL", - 'log_level' => LOG_EMERG + 'log_level' => 'LOG_EMERG' ), 'subdirs' => Array( 'tftproot' => 'tftpboot', @@ -18,13 +18,13 @@ $base_config = Array( 'ringtones' => 'ringtones', 'locales' => 'locales', 'countries' => 'countries', - 'languages' => 'languages', + 'languages' => 'languages' ), 'security' => Array( - 'cert_ca' => null, - 'cert_priv' => null, - 'cert_pub' => null, - 'hash' => null, + 'cert_ca' => NULL, + 'cert_priv' => NULL, + 'cert_pub' => NULL, + 'hash' => NULL ), 'settings' => Array( 'sshUserId' => 'cisco', @@ -34,30 +34,30 @@ $base_config = Array( 'template' => 'M/D/YA', 'timezone' => 'W. Europe Standard/Daylight Time', 'ipaddress' => '10.x.x.x', - 'mode' => 'Unicast', + 'mode' => 'Unicast' ), 'members' => Array( 'myhost' => Array( 'hostname' => 'myhost.domain.com', 'ipv4' => '10.x.x.x', 'ipv6' => '2001:470::x:x', - 'port' => '2000', + 'port' => '2000' ) ), 'locale' => Array( 'country' => 'United_States', 'language' => 'English_United_States', 'langcode' => 'en_US', - 'charset' => 'utf-8', + 'charset' => 'utf-8' ), 'urls' => Array( - 'secury' => '', - 'information' => '', - 'authentication' => '', - 'services' => '', - 'direcory' => '', - 'messages' => '', - 'proxyserver' => '', + 'security' => FALSE, + 'information' => NULL, + 'authentication' => NULL, + 'services' => NULL, + 'direcory' => NULL, + 'messages' => NULL, + 'proxyserver' => NULL ) ) );