Update extension_edit.php
Fix an extension edit permission problem.
This commit is contained in:
parent
b112220534
commit
3eec500abb
|
|
@ -523,9 +523,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
//write the provision files
|
//write the provision files
|
||||||
if (is_dir($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH.'/app/provision')) {
|
if (strlen($_SESSION['provision']['path']['text']) > 0) {
|
||||||
require_once "app/provision/provision_write.php";
|
if (is_dir($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH.'/app/provision')) {
|
||||||
$ext = new extension;
|
$prov = new provision;
|
||||||
|
$prov->domain_uuid = $domain_uuid;
|
||||||
|
$response = $prov->write();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//clear the cache
|
//clear the cache
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue