improved policy apply feature

This commit is contained in:
SJ
2013-04-17 21:45:02 +02:00
parent b92431b0e1
commit caeb050af3
6 changed files with 23 additions and 12 deletions

View File

@ -23,12 +23,13 @@ class ControllerPolicyApply extends Controller {
system('sudo -n /etc/init.d/rc.piler reload', $val);
if($val === 0) {
print $lang->data['text_applied'];
$this->data['x'] = $lang->data['text_applied'];
} else {
print $lang->data['text_install_sudo_apply'];
$this->data['x'] = $lang->data['text_install_sudo_apply'];
}
$this->render();
}
}