*/ if(!defined('DOKU_INC')) define('DOKU_INC',realpath(dirname(__FILE__).'/../../../').'/'); define('DOKU_DISABLE_GZIP_OUTPUT', 1); require_once(DOKU_INC.'inc/init.php'); require_once(DOKU_INC.'inc/auth.php'); require_once(dirname(__FILE__).'/admin.php'); session_write_close(); # for tsting: #$_REQUEST['r'] = 'http://www.google.de/search?q=python+imdb+fetch&btnG=Suche&hl=de&client=firefox-a&rls=org.mozilla%3Ade%3Aofficial'; // all features are in the admin plugin $plugin = new admin_plugin_statistics(); if($_REQUEST['ol']){ $plugin->log_outgoing(); }else{ $plugin->log_access(); } $plugin->sendGIF(); //Setup VIM: ex: et ts=4 enc=utf-8 :