changeset 12 | 66b604c61e62 |
parent 8 | 54ea0099329c |
child 15 | 560d53f840fa |
--- a/config/config.php +++ b/config/config.php @@ -18,7 +18,7 @@ $classPath = sprintf('classes/%s.php', $nsClass); if (file_exists($filename)) { - require_once "$classPath"; + require_once BFW_PATH . "/$classPath"; return true; } @@ -26,7 +26,7 @@ return false; } -require_once 'library/log4php/Logger.php'; +require_once BFW_PATH . '/library/log4php/Logger.php'; Logger::configure(BFW_PATH . '/config/log4php.xml'); spl_autoload_register('bfw_autoLoader');