my %color = ();
my %mainsettings = ();
&General::readhash("${General::swroot}/main/settings", \%mainsettings);
-&General::readhash("/srv/web/ipfire/html/themes/".$mainsettings{'THEME'}."/include/colors.txt", \%color);
+&General::readhash("/srv/web/ipfire/html/themes/ipfire/include/colors.txt", \%color);
&Header::showhttpheaders();
}
}
# Restart unbound
- system('/usr/local/bin/unboundctrl restart >/dev/null');
+ &General::system('/usr/local/bin/unboundctrl', 'reload');
}
###
}
close(FILE);
# Restart unbound.
- system('/usr/local/bin/unboundctrl restart >/dev/null');
+ &General::system('/usr/local/bin/unboundctrl', 'reload');
}
###
}
close(FILE);
# Restart unbound.
- system('/usr/local/bin/unboundctrl restart >/dev/null');
+ &General::system('/usr/local/bin/unboundctrl', 'reload');
}
###