Update any references to reading ee file. Update code style. Update prefix of key for workspace specific.
This commit is contained in:
@@ -354,8 +354,14 @@ class AddonsStore extends BaseAddonsStore
|
||||
$oPluginRegistry = PluginRegistry::loadSingleton();
|
||||
$aPluginsPP = array();
|
||||
|
||||
if (file_exists(PATH_DATA_SITE . 'ee')) {
|
||||
$aPluginsPP = 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) {
|
||||
$aPluginsPP = unserialize($eeData);
|
||||
}
|
||||
|
||||
$pmLicenseManagerO = PmLicenseManager::getSingleton();
|
||||
|
||||
Reference in New Issue
Block a user