Update device_edit.php
This commit is contained in:
parent
0a90bd9472
commit
d85528b195
|
|
@ -312,7 +312,11 @@
|
|||
|
||||
//write the provision files
|
||||
if (strlen($_SESSION['provision']['path']['text']) > 0) {
|
||||
require_once "app/provision/provision_write.php";
|
||||
if (is_dir($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH.'/app/provision')) {
|
||||
$prov = new provision;
|
||||
$prov->domain_uuid = $domain_uuid;
|
||||
$response = $prov->write();
|
||||
}
|
||||
}
|
||||
|
||||
//set the message
|
||||
|
|
|
|||
Loading…
Reference in New Issue