JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
make all require()s jumpable
[wfpl-cms.git] / wfpl_main.php
index 86b0693..ecc2acc 100644 (file)
@@ -1,9 +1,10 @@
 <?php
 
+# This file should be run automatically by .htaccess
+
 define('DOCROOT', __DIR__ .'/');
-define('INC_WFPL', DOCROOT . 'inc/wfpl/');
 
 require_once(DOCROOT . 'config.php');
 
-require_once(INC_WFPL . 'main.php');
+require_once(DOCROOT . 'inc/wfpl/main.php');
 wfpl_main();