Seek vendor/autoload.php in install path to make tests working

pull/187/head
Aleksander Machniak 10 years ago
parent d72fdecdf8
commit fec4f240e5

@ -55,8 +55,8 @@ if (set_include_path($include_path) === false) {
@set_time_limit(120);
// include composer autoloader (if available)
if (@file_exists('vendor/autoload.php')) {
require 'vendor/autoload.php';
if (@file_exists(INSTALL_PATH . 'vendor/autoload.php')) {
require INSTALL_PATH . 'vendor/autoload.php';
}
// include Roundcube Framework

Loading…
Cancel
Save