/** * (non-PHPdoc) * @see OnePiece5::Init() */ function Init() { parent::Init(); // In case of -> http://domain/app/?/smart-url if (isset($_SERVER['QUERY_STRING'][0]) and $_SERVER['QUERY_STRING'][0] === '/') { $this->isWikipedia(true); } }