3 trait Pman_Core_RooTrait {
7 if (isset($this->_hasInit)) {
11 $this->_hasInit = true;
13 $boot = HTML_FlexyFramework::get();
15 $this->appName= $boot->appName;
16 $this->appNameShort= $boot->appNameShort;
17 $this->appModules= $boot->enable;
18 $this->isDev = empty($boot->Pman['isDev']) ? false : $boot->Pman['isDev'];
19 $this->appDisable = $boot->disable;
20 $this->appDisabled = explode(',', $boot->disable);
21 $this->version = $boot->version;
22 $this->uiConfig = empty($boot->Pman['uiConfig']) ? false : $boot->Pman['uiConfig'];
24 if (!empty($ff->Pman['local_autoauth']) &&
25 ($_SERVER['SERVER_ADDR'] == '127.0.0.1') &&
26 ($_SERVER['REMOTE_ADDR'] == '127.0.0.1')
33 function checkDebugPost()
35 return (!empty($_GET['_post']) || !empty($_GET['_debug_post'])) &&
37 method_exists($this->authUser,'groups') &&
38 in_array('Administrators', $this->authUser->groups('name'));
41 function checkDebug($req = false)
44 * Not allow to doing this