mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
debug must be turned on manually with a default setting
This commit is contained in:
@@ -697,10 +697,13 @@ include "root.php";
|
||||
else {
|
||||
//make sure the file exists
|
||||
if (!file_exists($template_dir."/".$device_template ."/".$file)) {
|
||||
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";
|
||||
echo "file not found";
|
||||
if ($_SESSION['provision']['debug']['boolean'] == 'true'){
|
||||
echo ":$template_dir/$device_template/$file<br/>";
|
||||
echo "template_dir: $template_dir<br/>";
|
||||
echo "device_template: $device_template<br/>";
|
||||
echo "file: $file";
|
||||
}
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user