PMC-61
This commit is contained in:
@@ -30,6 +30,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';
|
||||
@@ -41,6 +42,9 @@ class Designer extends Controller
|
||||
$enterprise = 0;
|
||||
$distribution = 0;
|
||||
|
||||
$usrUid = $RBAC->userObj->getUsrUid();
|
||||
$userProperties = UsersPropertiesPeer::retrieveByPk($usrUid);
|
||||
|
||||
/*----------------------------------********---------------------------------*/
|
||||
$licensedFeatures = PMLicensedFeatures::getSingleton();
|
||||
if ($licensedFeatures->verifyfeature('7TTeDBQeWRoZTZKYjh4eFpYUlRDUUEyVERPU3FxellWank=')) {
|
||||
@@ -65,6 +69,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());
|
||||
|
||||
if ($debug) {
|
||||
if (!file_exists(PATH_HTML . "lib-dev/pmUI/build.cache")) {
|
||||
|
||||
Reference in New Issue
Block a user