$config->set('lang', $cfg_lang); $sf_path_base = $config->cms('path_base'); $sf_path_http_frontend = $config->client('path_http_edit'); $config->setVal('env', 'path_frontend_http', $sf_path_http_frontend . $config->client('path_rel')); $config->setVal('env', 'path_frontend', $sf_path_base . $config->client('path_rel')); $config->setVal('env', 'path_frontend_fm_http', $sf_path_http_frontend . $config->client('path_rel') . $config->client('path_fm_rel')); $config->setVal('env', 'path_frontend_fm', $sf_path_base . $config->client('path_rel') . $config->client('path_fm_rel')); $config->setVal('env', 'path_frontend_css_http', $sf_path_http_frontend . $config->client('path_rel') . $config->client('path_css_rel')); $config->setVal('env', 'path_frontend_css', $sf_path_base . $config->client('path_rel') . $config->client('path_css_rel')); $config->setVal('env', 'path_frontend_js_http', $sf_path_http_frontend . $config->client('path_rel') . $config->client('path_js_rel')); $config->setVal('env', 'path_frontend_js', $sf_path_base . $config->client('path_rel') . $config->client('path_js_rel')); // Repository laden $rep = new repository(); // Run init Plugins if ($cfg_rep['repository_init_plugins']) { $rep->init_plugins(); } // basecontroller $sf_controller = ''; $sf_area = 'index'; $pairs = explode('_', $area, 2); // controller if (array_key_exists('0', $pairs)) { if (strlen(trim($pairs['0'])) > 0) { $sf_controller = $pairs['0']; } } // area if (array_key_exists('1', $pairs)) { if (strlen(trim($pairs['1'])) > 0) { // transform area to camelcase