diff -r 27377179fe58 -r 4f9bec0d65c1 plugins/SpecialAdmin.php --- a/plugins/SpecialAdmin.php Wed Jul 02 19:36:44 2008 -0400 +++ b/plugins/SpecialAdmin.php Wed Jul 02 22:15:55 2008 -0400 @@ -24,7 +24,7 @@ global $db, $session, $paths, $template, $plugins; // Common objects -$plugins->attachHook('session_started', 'SpecialAdmin_paths_init();'); +// $plugins->attachHook('session_started', 'SpecialAdmin_paths_init();'); function SpecialAdmin_paths_init() { @@ -165,6 +165,7 @@ // Stats if(getConfig('log_hits') == '1') { + require_once(ENANO_ROOT . '/includes/stats.php'); $stats = stats_top_pages(10); //die('
'.print_r($stats,true).'
'); $c = 0;