/**
  *	Init Application
  *
  *	@return	void
  */
 public function init($section = "*DEFAULT*")
 {
     if ($this->checkPermission("applications", "effectweb", true)) {
         global $appsCache;
         if ($_GET['module'] && !CTM_Dashboard::APP_ModuleExists($_GET['module'])) {
             return $this->output->setContent("module_failed");
         } elseif ($_GET['module']) {
             $controller = $_GET['module'];
         } elseif ($section != "*DEFAULT*") {
             $controller = $section;
         } else {
             $controller = $appsCache['effectweb']['section'];
         }
         CTM_Dashboard::LoadAPPModule($controller);
     }
 }
 /**
  *	Init Application
  *
  *	@return	void
  */
 public function init($section = "*DEFAULT*", $load = "app_section.php")
 {
     global $appsCache;
     self::loadSources();
     $CTM_EWGeneral = new CTM_EWGeneral();
     $EW_Modules = new EW_Modules();
     $EW_Modules->loadPublicModules();
     $page = $_POST['pag'] ? $_GET['pag'] : $_GET['module'];
     if ($page && !CTM_Dashboard::APP_ModuleExists($page)) {
         return $this->output->loadSkinCache("server", "404_error");
     } elseif ($_GET['ajax']) {
         $controller = "Ajax";
     } elseif ($page) {
         $controller = $page;
     } elseif ($section != "*DEFAULT*") {
         $controller = $section;
     } else {
         $controller = $appsCache['core']['section'];
     }
     $CTM_EWGeneral->init();
     CTM_Dashboard::LoadAPPModule($controller, $load);
 }