diff --git a/config/config.php b/config/config.php --- 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');