Merge branch '287-php_zone_regeneration_behaviour' into pu
This commit is contained in:
commit
33008790a2
|
@ -502,8 +502,8 @@ class system_bind {
|
|||
|
||||
if ( ( $all || strtoupper($ds['dns_action']) == 'UPDATE' ) && $ds['gesdns'] ) {
|
||||
$this->save_zone($domain);
|
||||
$this->reload_zone($domain);
|
||||
$hooks->invoke_scripts("/usr/lib/alternc/reload.d", array('dns_reload_zone', $domain) );
|
||||
$this->reload_zone($domain);
|
||||
}
|
||||
} // end foreach domain
|
||||
|
||||
|
|
|
@ -82,6 +82,8 @@ class m_hooks {
|
|||
}
|
||||
} else if (is_dir($scripts)) {
|
||||
foreach (scandir($scripts) as $ccc) {
|
||||
# scandir returns the file names only
|
||||
$ccc = $scripts . '/' . $ccc;
|
||||
if (is_file($ccc) && is_executable($ccc)) {
|
||||
$to_launch[] = $ccc;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue