PMC-985
This commit is contained in:
@@ -33,6 +33,7 @@ class Designer extends Controller
|
||||
*/
|
||||
public function index($httpData)
|
||||
{
|
||||
global $RBAC;
|
||||
$proUid = isset($httpData->prj_uid) ? $httpData->prj_uid : '';
|
||||
$appUid = isset($httpData->app_uid) ? $httpData->app_uid : '';
|
||||
$proReadOnly = isset($httpData->prj_readonly) ? $httpData->prj_readonly : 'false';
|
||||
@@ -44,6 +45,9 @@ class Designer extends Controller
|
||||
$enterprise = 0;
|
||||
$distribution = 0;
|
||||
|
||||
$usrUid = $RBAC->userObj->getUsrUid();
|
||||
$userProperties = UsersPropertiesPeer::retrieveByPk($usrUid);
|
||||
|
||||
/*----------------------------------********---------------------------------*/
|
||||
$licensedFeatures = PMLicensedFeatures::getSingleton();
|
||||
if ($licensedFeatures->verifyfeature('7TTeDBQeWRoZTZKYjh4eFpYUlRDUUEyVERPU3FxellWank=')) {
|
||||
@@ -68,6 +72,7 @@ class Designer extends Controller
|
||||
$this->setVar("SYS_LANG", SYS_LANG);
|
||||
$this->setVar("SYS_SKIN", SYS_SKIN);
|
||||
$this->setVar('HTTP_SERVER_HOSTNAME', System::getHttpServerHostnameRequestsFrontEnd());
|
||||
$this->setVar('PMDYNAFORM_FIRST_TIME', $userProperties->getPmdynaformFirstTime());
|
||||
$inpuDocument = new InputDocument();
|
||||
$this->setVar('maxFileSizeInformation', G::json_encode($inpuDocument->getMaxFileSize()));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user