]> source.dussan.org Git - nextcloud-server.git/commit
initPaths: set include path before any owncloud function is called
authorherbrechtsmeier <stefan@herbrechtsmeier.net>
Sat, 2 Feb 2013 09:02:10 +0000 (10:02 +0100)
committerherbrechtsmeier <stefan@herbrechtsmeier.net>
Sat, 2 Feb 2013 11:07:18 +0000 (12:07 +0100)
commit37e6ac9a2aac288147efce7dc87e42edde14ba68
tree633d0e341e419e28254b6f602a79eb0cff8aa92e
parent23166aa016a85c237de6f4f532578dfbef0fe09b
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.
lib/base.php