Browse Source

Add vendor dir to autload.

namespace
Alexander Demidov 11 years ago
parent
commit
c62620593f
  1. 2
      Load.php

2
Load.php

@ -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'));

Loading…
Cancel
Save