JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
db_upgrade rework, admin_header, cleanup
[wfpl-cms.git] / wfpl_main.php
index ecc2acc..134ca9b 100644 (file)
@@ -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();