Fix issue 591 where the dialplan xml file was not including the dialplan directory

This commit is contained in:
Mark Crane
2014-05-03 00:49:11 +00:00
parent 74ae6fc900
commit 03f376be02
2 changed files with 4 additions and 4 deletions

View File

@@ -44,7 +44,7 @@ include "root.php";
}
if (!is_dir($dst)) {
if (!mkdir($dst, 0755, true)) {
//throw new Exception("recursive_copy() failed to create destination directory '".$dst."'");
throw new Exception("recursive_copy() failed to create destination directory '".$dst."'");
}
}
while(false !== ($file = readdir($dir))) {