From fec4f240e52dcfe4776e39a16e3a83aedd8f24f5 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Sat, 30 Aug 2014 03:50:31 -0400
Subject: [PATCH] Seek vendor/autoload.php in install path to make tests working

---
 program/include/iniset.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/program/include/iniset.php b/program/include/iniset.php
index b2cad42..11a2903 100644
--- a/program/include/iniset.php
+++ b/program/include/iniset.php
@@ -55,8 +55,8 @@
 @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

--
Gitblit v1.9.1