$this->appDisable = $boot->disable;
$this->appDisabled = explode(',', $boot->disable);
- $this->version = $boot->version;
+ $this->version = $boot->version;
+ $this->appVersion = $boot->version;
$this->uiConfig = empty($boot->Pman['uiConfig']) ? false : $boot->Pman['uiConfig'];
if (!empty($boot->Pman['local_autoauth']) &&
$mods = $this->modulesList();
+ // this puts the 'main one' at the end.
+ // as in theory we can override the stuff in the main project?
+ $core = array_shift($mods);
+ $fm = array_shift($mods);
+ array_unshift($mods,$core);
+ $mods[] = $fm;
+ // print_R($mods);exit;
$is_bootstrap = in_array('BAdmin', $mods);
foreach($mods as $mod) {
function onException($ex)
{
- static $reported = false;
+ static $reported = false;
if ($reported) {
return;
}
{
if (!empty(HTML_FlexyFramework::get()->Pman['disable_events'])) {
+ $str = $obj !== false ? "{$obj->tableName()}:{$obj->id} " : '';
+ $de = ini_set('display_errors', 0);
+ trigger_error("$act {$str}{$remarks}" , E_USER_NOTICE);
+ ini_set('display_errors', $de );
+
+
return;
}
$au = $this->getAuthUser();