This commit is contained in:
Taylor Dondich
2019-12-09 11:06:29 -08:00
committed by Julio Cesar Laura Avendaño
parent b7f6df7eb5
commit 2b11bc0c80
4 changed files with 65 additions and 12 deletions

View File

@@ -1500,8 +1500,14 @@ class adminProxy extends HttpProxyController
//Installed Plugins (license info?)
$arrayAddon = array();
if (file_exists(PATH_DATA_SITE . "ee")) {
$arrayAddon = unserialize(trim(file_get_contents(PATH_DATA_SITE . "ee")));
$eeData = Cache::get(config('system.workspace') . 'enterprise.ee', function () {
if (file_exists(PATH_DATA_SITE . 'ee')) {
return trim(file_get_contents(PATH_DATA_SITE . 'ee'));
}
return null;
});
if ($eeData) {
$arrayAddon = unserialize($eeData);
}
$plugins = array();