'node_id', 'format' => 'zahl', 'default' => 0), array('varname' => 'lang_id', 'format' => 'zahl', 'default' => 0), array('varname' => 'scope', 'format' => 'string', 'default' => 'front'), array('varname' => 'element_id', 'format' => 'zahl', 'default' => 0), array('varname' => 'cmd', 'format' => 'string', 'default' => ''), array('varname' => 'subcmd', 'format' => 'string', 'default' => ''), ); try { $MY_GET = getPathParameters($arr_vars); //Extrahiert GET Vars aus Path_Info if(!empty($MY_GET)) setGetVars($arr_vars, $MY_GET); //Füllt $_GET mit den extrahierten Vars //Scope if(isset($_GET['scope'])) $scope = $_GET['scope']; if(!isset($scope) || $scope == '') $scope = 'front'; page_open(array("sess" => "Session_Wrapper")); //Sess Var zur Aufnahme der Logins if(!$sess->is_registered('sess_arr_login')) { $sess->register('sess_arr_login'); $sess_arr_login = array(); } if(!$sess->is_registered('sess_lang_id')) { #echo 'register session id
'; $sess->register('sess_lang_id'); $sess_lang_id = 0; } if(!$sess->is_registered('PBUser')) { $sess->register('PBUser'); $PBUser = 0; } //Lässt Voransicht nur zu, wenn preview im Backend gesetzt if(!isset($sess_preview)) $sess_preview = 0; if($scope == 'back' && !$sess_preview) $scope = 'front'; $ctrl = new F_Controller($scope); $ctrl->dispatch(); $ctrl->display(); page_close(); } catch (Exception $e) { print_r($e); } ?>