Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
server:Kolab:UNSTABLE
iRony
iRony-0.3.0_use_global_rc-framework.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File iRony-0.3.0_use_global_rc-framework.patch of Package iRony
diff -Ppru iRony-0.3.0.orig/public_html/index.php iRony-0.3.0/public_html/index.php --- iRony-0.3.0.orig/public_html/index.php 2015-01-08 12:38:07.000000000 +0100 +++ iRony-0.3.0/public_html/index.php 2015-04-01 08:48:12.544139514 +0200 @@ -49,13 +49,18 @@ function exception_error_handler($errno, } //set_error_handler("exception_error_handler"); +// Define include path +$include_path = RCUBE_INSTALL_PATH . 'lib' . PATH_SEPARATOR; +$include_path .= ini_get('include_path'); +set_include_path($include_path); + // 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 -require_once KOLAB_DAV_ROOT . '/lib/Roundcube/bootstrap.php'; +require_once 'Roundcube/bootstrap.php'; // Roundcube framework initialization $rcube = rcube::get_instance(rcube::INIT_WITH_DB | rcube::INIT_WITH_PLUGINS);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor