X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl-cms.git;a=blobdiff_plain;f=wfpl_main.php;h=134ca9beafe03a180a68586f15be6b44ad773f20;hp=ecc2acc55ffc4c242e21eab12217307410f74039;hb=d8a3c68fe7131555725440aabc9f82e53520b5dc;hpb=35a09e30f8e03af23fbd9078e628ba885b0be626 diff --git a/wfpl_main.php b/wfpl_main.php index ecc2acc..134ca9b 100644 --- a/wfpl_main.php +++ b/wfpl_main.php @@ -2,9 +2,7 @@ # This file should be run automatically by .htaccess -define('DOCROOT', __DIR__ .'/'); +require_once(__DIR__.'/' . 'config.php'); -require_once(DOCROOT . 'config.php'); - -require_once(DOCROOT . 'inc/wfpl/main.php'); +require_once(__DIR__.'/' . 'inc/wfpl/main.php'); wfpl_main();