Kaydet (Commit) 39d0797e authored tarafından mertcelen's avatar mertcelen

Auto dependency install added.

üst 18368dd4
......@@ -188,6 +188,10 @@ if (!function_exists('syncFiles')) {
array_push($names,strtolower($extension->name));
$root->userAdd($extension->id);
$root->fixExtensionPermissions($extension->id,$extension->name);
$json = getExtensionJson($extension->name);
if(array_key_exists("dependencies",$json) && $json["dependencies"] != ""){
$root->installPackages($json["dependencies"]);
}
}
$scan = scandir('/liman/extensions/');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment