PM-921 Installer for community distribution.

Marker added in files with licensed features.
This commit is contained in:
norahmollo
2014-11-24 11:06:28 -04:00
parent e77edf413e
commit d6fedf2d2d
6 changed files with 34 additions and 10 deletions

View File

@@ -39,7 +39,7 @@ try {
$usr = mb_strtolower(trim($frm['USR_USERNAME']), 'UTF-8');
$pwd = trim($frm['USR_PASSWORD']);
}
/*----------------------------------********---------------------------------*/
require_once PATH_CORE . 'methods' . PATH_SEP . 'enterprise' . PATH_SEP . 'enterprise.php';
if (!file_exists(PATH_DATA_SITE . "plugin.singleton")) {
@@ -47,6 +47,7 @@ try {
$enterprise->enable();
$enterprise->setup();
}
/*----------------------------------********---------------------------------*/
$uid = $RBAC->VerifyLogin($usr , $pwd);
$RBAC->cleanSessionFiles(72); //cleaning session files older than 72 hours