X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl-cms.git;a=blobdiff_plain;f=config.php;h=a3698ae66059c2ccae747f9ac85a00a192b43f39;hp=1dc9d0daf398dac76400f244fb6a7c24fed6982a;hb=8c4eef93b5d12e5453780b2b23c6a06af5d3894f;hpb=c469d2530ad9684e56742d38f5817cb08ad98eef diff --git a/config.php b/config.php index 1dc9d0d..a3698ae 100644 --- a/config.php +++ b/config.php @@ -8,14 +8,14 @@ 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'); +require_once(INC_WFPL . 'main.php'); wfpl_main();