JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
make all require()s jumpable
[wfpl-cms.git] / config.php
index 8a52bf4..5be892e 100644 (file)
@@ -1,5 +1,7 @@
 <?php
 
+# This file should be run automatically by wfpl_main.php
+
 # Settings
 define('WFPL_DB', 'fixme');
 define('WFPL_DB_USER', 'fixme');
@@ -8,10 +10,10 @@ define('WFPL_DB_PASS', 'fixme');
 date_default_timezone_set('America/New_York');
 
 # Enable features, auto-includes
-require_once(INC_WFPL . 'format.php');
-require_once(INC_WFPL . 'db.php');
-require_once(INC_WFPL . 'session_messages.php');
-require_once(__DIR__.'/'.'inc/cms.php');
+require_once(DOCROOT . 'inc/wfpl/format.php');
+require_once(DOCROOT . 'inc/wfpl/db.php');
+require_once(DOCROOT . 'inc/wfpl/session_messages.php');
+require_once(DOCROOT . 'inc/cms.php');
 
 # Connect to the database
 db_connect(WFPL_DB, WFPL_DB_USER, WFPL_DB_PASS);