PM 934 "Adicionar support file generation al..." SOLVED

Code Issue:
Adicionar support file generation al enterprise plugin 2.0.41.
Solution:
- Sea agregado el indice "countWorkspace" que indica el numero de workspaces; este cambio se hizo para el branch
  master
This commit is contained in:
Luis Fernando Saisa Lopez
2014-11-19 16:15:49 -04:00
parent a827623bc3
commit bdb5526507

View File

@@ -1488,6 +1488,7 @@ class adminProxy extends HttpProxyController
//Country/city (Timezone)
$params["Timezone"] = (defined('TIME_ZONE') && TIME_ZONE != "Unknown") ? TIME_ZONE : date_default_timezone_get();
$params["countWorkspace"] = count(System::listWorkspaces());
$support = PATH_DATA_SITE . G::sanitizeString($licenseManager->info['FIRST_NAME'] . '-' . $licenseManager->info['LAST_NAME'] . '-' . SYS_SYS . '-' . date('YmdHis'), false, false) . '.spm';
file_put_contents($support, serialize($params));