/** * Mobile tab * * @return void */ function options_mobile() { $groups = $this->_config->get_array('mobile.rgroups'); require_once W3TC_LIB_W3_DIR . '/Mobile.php'; $w3_mobile =& W3_Mobile::instance(); $themes = $w3_mobile->get_themes(); include W3TC_DIR . '/inc/options/mobile.phtml'; }
/** * PHP5 Constructor */ function __construct() { require_once W3TC_LIB_W3_DIR . '/Config.php'; $this->_config =& W3_Config::instance(); $this->_debug = $this->_config->get_boolean('pgcache.debug'); $this->_request_uri = $_SERVER['REQUEST_URI']; $this->_lifetime = $this->_config->get_integer('browsercache.html.lifetime'); $this->_enhanced_mode = $this->_config->get_string('pgcache.engine') == 'file_generic'; if ($this->_config->get_boolean('mobile.enabled')) { require_once W3TC_LIB_W3_DIR . '/Mobile.php'; $this->_mobile =& W3_Mobile::instance(); } if ($this->_config->get_boolean('referrer.enabled')) { require_once W3TC_LIB_W3_DIR . '/Referrer.php'; $this->_referrer =& W3_Referrer::instance(); } }