you can customize the reload command in the gui

This commit is contained in:
SJ
2013-09-29 10:53:02 +02:00
parent a1060b76d0
commit b71f95f7bc
2 changed files with 2 additions and 1 deletions

View File

@ -20,7 +20,7 @@ class ControllerPolicyApply extends Controller {
die("go away");
}
system('sudo -n /etc/init.d/rc.piler reload', $val);
system(RELOAD_COMMAND, $val);
if($val === 0) {
$this->data['x'] = $lang->data['text_applied'];