Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl-cms.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
db_upgrade rework, admin_header, cleanup
[wfpl-cms.git]
/
wfpl_main.php
diff --git
a/wfpl_main.php
b/wfpl_main.php
index
ecc2acc
..
134ca9b
100644
(file)
--- a/
wfpl_main.php
+++ b/
wfpl_main.php
@@
-2,9
+2,7
@@
# This file should be run automatically by .htaccess
# 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();
wfpl_main();