just a little more debug info when provisioning fails

This commit is contained in:
luis daniel lucio quiroz 2015-04-09 14:26:47 +00:00
parent 6167c6f773
commit f79c83ee29
1 changed files with 5 additions and 2 deletions

View File

@ -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
?>
?>