function __construct() { // init parent constructor parent::uagent_info(); // translations load_plugin_textdomain(MOBILESMART_DOMAIN); if (isset($_COOKIE[MOBILESMART_SWITCHER_COOKIE])) { $this->switcher_cookie = $_COOKIE[MOBILESMART_SWITCHER_COOKIE]; //echo "Construct cookie: $this->switcher_cookie<br/><br/>"; } }