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
404 fake wfpl_main.php
[wfpl-cms.git]
/
config.php
diff --git
a/config.php
b/config.php
index
1dc9d0d
..
8a52bf4
100644
(file)
--- a/
config.php
+++ b/
config.php
@@
-8,14
+8,10
@@
define('WFPL_DB_PASS', 'fixme');
date_default_timezone_set('America/New_York');
# Enable features, auto-includes
date_default_timezone_set('America/New_York');
# Enable features, auto-includes
-require_once(__DIR__.'/'.'inc/wfpl/format.php');
-require_once(__DIR__.'/'.'inc/wfpl/db.php');
-require_once(__DIR__.'/'.'inc/wfpl/session_messages.php');
+require_once(INC_WFPL . 'format.php');
+require_once(INC_WFPL . 'db.php');
+require_once(INC_WFPL . 'session_messages.php');
require_once(__DIR__.'/'.'inc/cms.php');
# Connect to the database
db_connect(WFPL_DB, WFPL_DB_USER, WFPL_DB_PASS);
require_once(__DIR__.'/'.'inc/cms.php');
# Connect to the database
db_connect(WFPL_DB, WFPL_DB_USER, WFPL_DB_PASS);
-
-# Load the requested page (php and/or html)
-require_once(__DIR__.'/'.'inc/wfpl/main.php');
-wfpl_main();