From 9a35bd76fb0d740029d0d827209a240a6b70777c Mon Sep 17 00:00:00 2001
From: Bart Visscher <bartv@thisnet.nl>
Date: Fri, 12 Oct 2012 15:38:16 +0200
Subject: [PATCH] Use resolved path for require_once in autoloader

---
 lib/base.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/base.php b/lib/base.php
index 6305da1693..51f8f4efc5 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -100,7 +100,7 @@ class OC{
 		}
 
 		if($fullPath = stream_resolve_include_path($path)) {
-			require_once $path;
+			require_once $fullPath;
 		}
 		return false;
 	}
-- 
GitLab