summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-08-30 09:49:45 +0200
committerAleksander Machniak <alec@alec.pl>2014-08-30 09:50:31 +0200
commitfec4f240e52dcfe4776e39a16e3a83aedd8f24f5 (patch)
treeef2d73fdefc7c81864fcff2f2a698399a08f8ebe /program/include
parentd72fdecdf8b71740990a74fd7ac5a3cb1749eaac (diff)
Seek vendor/autoload.php in install path to make tests working
Diffstat (limited to 'program/include')
-rw-r--r--program/include/iniset.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/iniset.php b/program/include/iniset.php
index b2cad4292..11a29034c 100644
--- a/program/include/iniset.php
+++ b/program/include/iniset.php
@@ -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