debug must be turned on manually with a default setting
This commit is contained in:
parent
395fa85cec
commit
72c03a4b42
|
|
@ -697,10 +697,13 @@ include "root.php";
|
||||||
else {
|
else {
|
||||||
//make sure the file exists
|
//make sure the file exists
|
||||||
if (!file_exists($template_dir."/".$device_template ."/".$file)) {
|
if (!file_exists($template_dir."/".$device_template ."/".$file)) {
|
||||||
echo "file not found: $template_dir/$device_template/$file<br/>";
|
echo "file not found";
|
||||||
echo "template_dir: $template_dir<br/>";
|
if ($_SESSION['provision']['debug']['boolean'] == 'true'){
|
||||||
echo "device_template: $device_template<br/>";
|
echo ":$template_dir/$device_template/$file<br/>";
|
||||||
echo "file: $file";
|
echo "template_dir: $template_dir<br/>";
|
||||||
|
echo "device_template: $device_template<br/>";
|
||||||
|
echo "file: $file";
|
||||||
|
}
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue