Update device_profile_edit.php
This commit is contained in:
parent
5e7e2e0778
commit
0a90bd9472
|
|
@ -141,7 +141,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