getConfig('rutaClassRel') . "core/lang/Lang.class.php"); $lang = new Lang(); //Clase User include_once($site->getConfig('rutaClassRel') . "core/user/User.class.php"); $user = new User('public_users'); //Clase Modulos include_once($site->getConfig('rutaClassRel') . "core/module/PublicModule.class.php"); $module = new PublicModule(); //Clase Cache if($module->getConfig('cache') && $site->getConfig('cache')){ include_once($site->getConfig('rutaClassRel') . "core/cache/Cache.class.php"); $cache = new Cache(); if($cache->isCached()){ echo $cache->loadFile(); exit; } } //Clase Links include_once($site->getConfig('rutaClassRel') . "core/linksUrl/linksUrl.class.php"); //Excepciones para la construcción de la url para productos y categorias if($module->getConfig('link') == _MOD_CATALOGO_CATEGORIAS){ if($site->getURL('id3') == _LINK_PRODUCTO){ $module = $module->createModule(_MOD_CATALOGO_PRODUCTOS); $links = new linksUrl($site->getURL('id2')); $module->setSelectedElement($links->getIdRelFromTable()); if($module->getSelectedElement() == 0) $site->showError(404); } } if($module->getModule('class')) include_once($site->getConfig('rutaModulesRel') . $module->getConfig('src')); //El modulo no tiene listado if($module->getConfig('estructure') == 0 || $module->getConfig('src') == '') $site->showError(404); //Esta la web cerrada por obras? if($site->getConfig('working')) if($site->getURL('id1') != _MOD_AVISOS) $site->showError(1000); //History if($module->getConfig('link') != _MOD_LOGIN && $module->getConfig('link') != _MOD_AVISOS && $module->getConfig('link') != _MOD_PROCESO_COMPRA) $_SESSION['url'] = $site->getActualPageLink(); else if($_SESSION['url'] == '') $_SESSION['url'] = $site->getLink(_MOD_PORTADAS); //Clase Posicionador include_once($site->getConfig('rutaClassRel') . "core/posicionador/Posicionador.class.php"); $posicionador = new Posicionador($module->getConfig('id'), $module->getSelectedElement()); //GOOGLE ANALYTICS include_once($site->getConfig('rutaClassRel') . 'core/googleAnalytics/googleAnalytics.class.php'); $gA = new googleAnalytics($site->getConfig('googleACode')); //Clase Fechas include_once($site->getConfig('rutaClassRel') . "core/fechas/Fechas.class.php"); $fechas = new Fecha(); //Clase Parser include_once($site->getConfig('rutaClassRel') . "core/parser/Parser.class.php"); $parser = new Parser(); ?> getConfig('rutaTemplate') . 'index.php') ?> getConfig('rutaTemplate') . 'includes/cookies/cookies.php'); ?> saveVisit() ?> close() ?> getConfig('cache')){ //Guardamos el cache // $cache->writeFile(ob_get_contents()); } ?>