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 5f6bf426c3
commit df87b1e277

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