attempt with fix URL for testing works

This commit is contained in:
Michael Meer
2014-01-30 10:39:09 +01:00
parent e5d1e20ff5
commit 0a2b2a1390
5 changed files with 19 additions and 7 deletions

View File

@@ -19,7 +19,7 @@ $a = new App;
/**
*
* Load the configuration file which contains our DB credentials.
* Ignore errors. If the file doesn't exist or is empty, we are running in installation mode.
* Ignore errors. If the file doesnt exist or is empty, we are running in installation mode.
*
*/
@@ -181,7 +181,8 @@ if(strlen($a->module)) {
* If the site has a custom module to over-ride the standard module, use it.
* Otherwise, look for the standard program module in the 'mod' directory
*/
logger('Index.php', LOGGER_DEBUG);
//logger('Index.php array ' . print_r($a,true), LOGGER_DEBUG);
if(! $a->module_loaded) {
if(file_exists("custom/{$a->module}.php")) {