diff -r 1d6e762433fe -r 0acb8d9a3194 snippets.php --- a/snippets.php Fri May 09 22:37:57 2008 -0400 +++ b/snippets.php Mon Aug 25 12:34:26 2008 -0400 @@ -11,9 +11,10 @@ * This script MUST be placed in an Enano installation directory. *****************************************************************/ -define('ENANOBOT_ROOT', './'); +define('ENANOBOT_ROOT', dirname(__FILE__) . '/'); // load Enano for auth +/* require('includes/common.php'); if ( $session->user_level < USER_LEVEL_ADMIN ) { @@ -22,6 +23,7 @@ $db->close(); unset($db, $session, $paths, $template, $plugins); +*/ // We're authed. // Load config @@ -63,7 +65,7 @@