require 'Logic/cart.php'; require 'Logic/destino.php'; require 'Logic/busqueda.php'; require 'Logic/adword.php'; require 'Logic/factura.php'; require 'Logic/evento.php'; require 'Logic/faq.php'; require 'Lib/smarty/Smarty.class.php'; require 'Lib/nusoap/nusoap.php'; include_once 'Lib/mobiledetect/Mobile_Detect.php'; require 'Lib/currency-detector/Detector.php'; require 'Lib/currency-detector/Currency/Code.php'; require 'Lib/currency-detector/Currency/Symbol.php'; use CurrencyDetector\Detector; $controller = new Core_Controller(); $includes = $controller->getFileAction(); $currencyDetector = new Detector(); $smarty = new Smarty(); $smarty->debugging = false; $smarty->caching = false; $smarty->cache_lifetime = 120; $smarty->assign("base_url", $base_url); $smarty->assign("template_url", $template_url); $detect = new Mobile_Detect(); $smarty->assign('movile', $detect->isMobile() && !$detect->isTablet()); /* if (isset($_SESSION['lang'])) { $lang_set = $_SESSION['lang']; $lang_set = "spanish"; } else { $lang_set = "spanish";