Use resolved path for require_once in autoloader
This commit is contained in:
parent
351f724193
commit
9a35bd76fb
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ class OC{
|
|||
}
|
||||
|
||||
if($fullPath = stream_resolve_include_path($path)) {
|
||||
require_once $path;
|
||||
require_once $fullPath;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue