Skip to content
Commit 37e6ac9a authored by Stefan Herbrechtsmeier's avatar Stefan Herbrechtsmeier
Browse files

initPaths: set include path before any owncloud function is called

Ensure we can find basic owncloud classes while detecting the owncloud
paths in function initPaths by add OC::$SERVERROOT . '/lib' to include
path before any owncloud function is called.

This fix a bug with XAMPP that cannot find the class OC_Config in
function OC_Request::scriptName when called from function
OC_Base::initPaths.
parent 23166aa0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment