X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl-cms.git;a=blobdiff_plain;f=wfpl_main.php;h=134ca9beafe03a180a68586f15be6b44ad773f20;hp=ecc2acc55ffc4c242e21eab12217307410f74039;hb=033b3723557ef39ca72c8440ba1c1a49dd47b319;hpb=abf27e3dd23a8fb52d766be615ebaa19a9dfc389 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();