just a little more debug info when provisioning fails
This commit is contained in:
parent
6167c6f773
commit
f79c83ee29
|
|
@ -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
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue