mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-03-26 18:25:42 +00:00
Use is_dir instead of check for the length of the stirng.
This commit is contained in:
@@ -26,11 +26,9 @@
|
||||
|
||||
//process this only one time
|
||||
if ($domains_processed == 1) {
|
||||
if (isset($_SESSION['switch']['scripts']['dir'])) {
|
||||
$obj = new scripts;
|
||||
$obj->copy_files();
|
||||
$obj->write_config();
|
||||
}
|
||||
$obj = new scripts;
|
||||
$obj->copy_files();
|
||||
$obj->write_config();
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user