Skip to content

Commit 0c05d99

Browse files
committed
Added missing $conf setting.
1 parent a74d8db commit 0c05d99

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

server/mods-available/dns_module.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ function restartBind($action = 'restart') {
133133
}
134134

135135
function restartPowerDNS($action = 'restart') {
136-
global $app;
136+
global $app,$conf;
137137

138138
$app->log("restartPDNS called.",LOGLEVEL_DEBUG);
139139

server/mods-available/web_module.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ function process($tablename,$action,$data) {
127127

128128
// This function is used
129129
function restartHttpd($action = 'restart') {
130-
global $app;
130+
global $app,$conf;
131131

132132
$daemon = '';
133133
if(is_file($conf['init_scripts'] . '/' . 'httpd')) {

0 commit comments

Comments
 (0)