mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 01:41:59 +01:00
you can customize the reload command in the gui
This commit is contained in:
parent
a1060b76d0
commit
b71f95f7bc
@ -174,6 +174,7 @@ $config['SPHINX_MAIN_INDEX'] = 'main1,dailydelta1,delta1';
|
|||||||
$config['SPHINX_TAG_INDEX'] = 'tag1';
|
$config['SPHINX_TAG_INDEX'] = 'tag1';
|
||||||
$config['SPHINX_NOTE_INDEX'] = 'note1';
|
$config['SPHINX_NOTE_INDEX'] = 'note1';
|
||||||
|
|
||||||
|
$config['RELOAD_COMMAND'] = 'sudo -n /etc/init.d/rc.piler reload';
|
||||||
|
|
||||||
$config['LDAP_IMPORT_CONFIG_FILE'] = '/usr/local/etc/ldap-import.cfg';
|
$config['LDAP_IMPORT_CONFIG_FILE'] = '/usr/local/etc/ldap-import.cfg';
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ class ControllerPolicyApply extends Controller {
|
|||||||
die("go away");
|
die("go away");
|
||||||
}
|
}
|
||||||
|
|
||||||
system('sudo -n /etc/init.d/rc.piler reload', $val);
|
system(RELOAD_COMMAND, $val);
|
||||||
|
|
||||||
if($val === 0) {
|
if($val === 0) {
|
||||||
$this->data['x'] = $lang->data['text_applied'];
|
$this->data['x'] = $lang->data['text_applied'];
|
||||||
|
Loading…
Reference in New Issue
Block a user