X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=config.php;h=8a52bf42ba7ff3f262d618d09b8ea778e883004b;hb=0480ae4d817410e13204282aeb360b59402429ac;hp=1dc9d0daf398dac76400f244fb6a7c24fed6982a;hpb=00f6a232f1a6022f53f4e3c9d0236d81db966b62;p=wfpl-cms.git diff --git a/config.php b/config.php index 1dc9d0d..8a52bf4 100644 --- a/config.php +++ b/config.php @@ -8,14 +8,10 @@ define('WFPL_DB_PASS', 'fixme'); date_default_timezone_set('America/New_York'); # Enable features, auto-includes -require_once(__DIR__.'/'.'inc/wfpl/format.php'); -require_once(__DIR__.'/'.'inc/wfpl/db.php'); -require_once(__DIR__.'/'.'inc/wfpl/session_messages.php'); +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'); # Connect to the database db_connect(WFPL_DB, WFPL_DB_USER, WFPL_DB_PASS); - -# Load the requested page (php and/or html) -require_once(__DIR__.'/'.'inc/wfpl/main.php'); -wfpl_main();