summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-03-13 13:03:54 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2014-03-13 13:03:54 (GMT)
commit585c77abd61a01839d60a649dba36f5d787184b4 (patch)
treed6e840cf24576ad96cde279588c50868f20cbe82
parent24d07193bb87373c7bad9ffdd6f38acdaa827199 (diff)
downloadiRony-585c77abd61a01839d60a649dba36f5d787184b4.tar.gz
Manually register iRony classes namespace and don't rely on a local composer configuration
-rw-r--r--public_html/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/public_html/index.php b/public_html/index.php
index 2965fa1..c7e55ee 100644
--- a/public_html/index.php
+++ b/public_html/index.php
@@ -51,6 +51,7 @@ function exception_error_handler($errno, $errstr, $errfile, $errline ) {
// use composer's autoloader for dependencies
$loader = require_once(KOLAB_DAV_ROOT . '/vendor/autoload.php');
+$loader->set('Kolab', array(KOLAB_DAV_ROOT . '/lib')); // register iRony namespace(s)
$loader->setUseIncludePath(true); // enable include_path to load PEAR classes from their default location
// load the Roundcube framework with its autoloader