summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-10-12 15:38:16 +0200
committerBart Visscher <bartv@thisnet.nl>2012-10-12 15:47:41 +0200
commit9a35bd76fb0d740029d0d827209a240a6b70777c (patch)
treeb3bc57527c8205ca5811805c189e16b32b139d1c
parent351f724193a917c7b919ef2d833a2ec2f4d3ff75 (diff)
downloadnextcloud-server-9a35bd76fb0d740029d0d827209a240a6b70777c.tar.gz
nextcloud-server-9a35bd76fb0d740029d0d827209a240a6b70777c.zip
Use resolved path for require_once in autoloader
-rw-r--r--lib/base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index 6305da16930..51f8f4efc5b 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;
}