File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ function soa_dnssec_create(&$data) {
9999 //* Verify that we do not already have keys (overwriting-protection)
100100 //TODO : change this when distribution information has been integrated into server record
101101 if (file_exists ($ dns_config ['bind_zonefiles_dir ' ].'/dsset- ' .$ data ['new ' ]['origin ' ].'. ' )) {
102- return $ this ->soa_dnssec_update (& $ data );
102+ return $ this ->soa_dnssec_update ($ data );
103103 }
104104
105105 //Do some magic...
@@ -109,7 +109,7 @@ function soa_dnssec_create(&$data) {
109109
110110 $ dnssecdata = "DS-Records: \n\r" .file_get_contents ($ dns_config ['bind_zonefiles_dir ' ].'/dsset- ' .$ data ['new ' ]['origin ' ].'. ' );
111111 opendir ($ dns_config ['bind_zonefiles_dir ' ]);
112- $ dnssecdata .= "\n\r------------------------------------ \n\r\n\rDNSKEY-Records: \n\r"
112+ $ dnssecdata .= "\n\r------------------------------------ \n\r\n\rDNSKEY-Records: \n\r" ;
113113 foreach (glob ('K ' .$ data ['new ' ]['origin ' ].'*.key ' ) as $ keyfile ) {
114114 $ dnssecdata .= file_get_contents ($ keyfile )."\n\r\n\r" ;
115115 }
You can’t perform that action at this time.
0 commit comments