Merge pull request #916 from chillu/pulls/current-dir-include-path

BUG Inspect current directory for include_path
This commit is contained in:
Sean Harvey 2012-11-01 13:27:04 -07:00
commit ead563c07f

View File

@ -186,13 +186,13 @@ define('ASSETS_PATH', BASE_PATH . '/' . ASSETS_DIR);
// INCLUDES
if(defined('CUSTOM_INCLUDE_PATH')) {
$includePath = CUSTOM_INCLUDE_PATH . PATH_SEPARATOR
$includePath = '.' . PATH_SEPARATOR . CUSTOM_INCLUDE_PATH . PATH_SEPARATOR
. FRAMEWORK_PATH . PATH_SEPARATOR
. FRAMEWORK_PATH . '/parsers' . PATH_SEPARATOR
. THIRDPARTY_PATH . PATH_SEPARATOR
. get_include_path();
} else {
$includePath = FRAMEWORK_PATH . PATH_SEPARATOR
$includePath = '.' . PATH_SEPARATOR . FRAMEWORK_PATH . PATH_SEPARATOR
. FRAMEWORK_PATH . '/parsers' . PATH_SEPARATOR
. THIRDPARTY_PATH . PATH_SEPARATOR
. get_include_path();