--- /dev/null
+<?php\r
+//NP_gallery config\r
+\r
+global $DIR_NUCLEUS,$DIR_LIBS;\r
+\r
+global $NP_GALLERY_DIR, $NP_BASE_DIR;\r
+$NP_GALLERY_DIR = dirname(__FILE__) . '/';\r
+$NP_BASE_DIR = dirname(dirname(dirname(dirname(__FILE__)))) . '/';\r
+\r
+\r
+include_once($NP_GALLERY_DIR.'functions.php');\r
+include_once($NP_GALLERY_DIR.'list_class.php');\r
+include_once($NP_GALLERY_DIR.'album_class.php');\r
+include_once($NP_GALLERY_DIR.'picture_class.php');\r
+include_once($NP_GALLERY_DIR.'member_class.php');\r
+include_once($NP_GALLERY_DIR.'forms.php');\r
+include_once($NP_GALLERY_DIR.'admin.php');\r
+include_once($NP_GALLERY_DIR.'template.php');\r
+include_once($NP_GALLERY_DIR.'comments.php');\r
+include_once($NP_GALLERY_DIR.'language/english.php'); //change this for different language\r
+\r
+global $NPG_CONF, $member, $gmember;\r
+$NPG_CONF = getNPGConfig();\r
+$gmember = new GALLERY_MEMBER;\r
+if($member->getID()) $gmember->readFromID($member->getID()); else $gmember->makeguest();\r
+$gmember->loggedin = $member->isloggedin();\r
+\r
+?>\r