Update device_edit.php

This commit is contained in:
FusionPBX 2016-12-06 10:47:31 -07:00 committed by GitHub
parent 0a90bd9472
commit d85528b195
1 changed files with 5 additions and 1 deletions

View File

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