checkPriv.web.php 337 B

12345678910
  1. <?php
  2. if($this->app->viewType == 'mhtml')
  3. {
  4. $module = $this->app->getModuleName();
  5. $tab = isset($this->lang->navGroup->$module) ? $this->lang->navGroup->$module : $module;
  6. setcookie('tab', $tab, 0, $this->config->webRoot, '', $this->config->cookieSecure, false);
  7. $_COOKIE['tab'] = $tab;
  8. $this->app->tab = $tab;
  9. }