diff -r e58294b867c1 -r 5cbd678df965 includes/functions.php --- a/includes/functions.php Wed Aug 21 22:50:34 2013 -0400 +++ b/includes/functions.php Wed Aug 21 23:11:58 2013 -0400 @@ -1004,6 +1004,8 @@ { global $db, $session, $paths, $template, $plugins; // Common objects + require_once(ENANO_ROOT . '/includes/template.php'); + if ( !defined('scriptPath') ) require( ENANO_ROOT . '/config.php' );