get_installed_plugins(); $capturePluginInstalled = in_array('jcapture', $pluginList); if (!$capturePluginInstalled) { exit; } $capturePath = api_get_path(WEB_PLUGIN_PATH).'jcapture/'; $hostName = api_get_path(WEB_PATH); define('DOKU_BASE', '/tmp'); function getSecurityToken() { } //close sesseion session_write_close(); header('Content-Type: text/html; charset=utf-8'); $imageFormat = "PNG"; $cookies = null; foreach (array_keys($_COOKIE) as $cookieName) { $cookies .= bin2hex($cookieName)."=".bin2hex($_COOKIE[$cookieName]).";"; } $pageName = 'file'; $edid = '1'; ?>