Add vendor dir to autload.

This commit is contained in:
2014-05-19 21:34:20 +04:00
parent e8e266a101
commit c62620593f

View File

@ -73,7 +73,7 @@ class Load
trigger_error('Can\'t create directory: "' . $dir . '"', E_USER_ERROR); trigger_error('Can\'t create directory: "' . $dir . '"', E_USER_ERROR);
} }
$scan = array(PATH . '/' . APP . '/src', PATH . '/lib'); $scan = array(PATH . '/' . APP . '/src', PATH . '/lib', PATH . '/vendor');
$exclude = array_merge(self::$exclude, array(PATH . '/.git', PATH . '/lib/core/tests', PATH . '/lib/core/.git')); $exclude = array_merge(self::$exclude, array(PATH . '/.git', PATH . '/lib/core/tests', PATH . '/lib/core/.git'));