]> source.dussan.org Git - nextcloud-server.git/commitdiff
Use resolved path for require_once in autoloader
authorBart Visscher <bartv@thisnet.nl>
Fri, 12 Oct 2012 13:38:16 +0000 (15:38 +0200)
committerBart Visscher <bartv@thisnet.nl>
Fri, 12 Oct 2012 13:47:41 +0000 (15:47 +0200)
lib/base.php

index 6305da169306a6f1cb7bfcac28ce3b4f6e37a9ae..51f8f4efc5b05269eb56d8b0d4e5c24c361d8aaf 100644 (file)
@@ -100,7 +100,7 @@ class OC{
                }
 
                if($fullPath = stream_resolve_include_path($path)) {
-                       require_once $path;
+                       require_once $fullPath;
                }
                return false;
        }