Current Path : /var/test/www/alh/system/soconfig/ |
Current File : /var/test/www/alh/system/soconfig/startup.php |
<?php define('SOCONFIG_VERSION', '1.0.2'); define('SOCONFIG_CACHE_DIR', 'soconfig/data/cache/'); require_once(DIR_SYSTEM . 'soconfig/classes/soconfig.php'); $soconfig = new Soconfig($this->registry); $this->registry->set('soconfig', $soconfig); require_once(DIR_SYSTEM . 'soconfig/classes/soconfig_settings.php'); $soconfig->config = new SoconfigSettings($this->registry); require_once(DIR_SYSTEM . 'soconfig/classes/soconfig_cache.php'); $soconfig->cache = new SoconfigCache($this->registry); require_once(DIR_SYSTEM . 'soconfig/classes/soconfig_tools.php'); $soconfig->tools = new SoconfigTools($this->registry); require_once(DIR_SYSTEM . 'soconfig/classes/soconfig_minifier.php'); $soconfig->minifier = new SoconfigMinifier(); /*Detect mobile device and redirect to mobile theme*/ /*if(!defined('HTTP_CATALOG')){ require_once(DIR_SYSTEM . 'soconfig/classes/device.php'); $device = new Device($this->registry); }*/