protected function actionInfo() { $info = $this->wurfl->getWURFLInfo(); $config = WURFL_Configuration_ConfigHolder::getWURFLConfig(); $this->response['info'] = array('api' => 'PHP API', 'api_version' => WURFL_Constants::API_VERSION, 'mode' => 'high-' . $config->matchMode, 'wurfl_version' => $info->version, 'loaded_patches' => is_array($config->wurflPatches) ? implode(',', $config->wurflPatches) : '', 'platform' => 'PHP ' . PHP_VERSION, 'app_server' => $_SERVER['SERVER_SOFTWARE'], 'os' => php_uname()); $this->response['success'] = true; $this->sendResponse(); }