mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
just a little more debug info when provisioning fails
This commit is contained in:
@@ -697,7 +697,10 @@ include "root.php";
|
||||
else {
|
||||
//make sure the file exists
|
||||
if (!file_exists($template_dir."/".$device_template ."/".$file)) {
|
||||
echo "file not found";
|
||||
echo "file not found: $template_dir/$device_template/$file<br/>";
|
||||
echo "template_dir: $template_dir<br/>";
|
||||
echo "device_template: $device_template<br/>";
|
||||
echo "file: $file";
|
||||
exit;
|
||||
}
|
||||
}
|
||||
@@ -828,4 +831,4 @@ include "root.php";
|
||||
} //end write function
|
||||
} //end provision class
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user