diff --git a/lib/base.php b/lib/base.php
index 72645d077862695595020fd0003845b701ebee1b..16b0da7c77eb60d3819570ed65dc9cb54ff12462 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -103,6 +103,7 @@ class OC {
 					require_once $fullPath;
 					return false;
 				}
+				// If not found in the root of the app directory, insert '/lib' after app id and try again.
 				$libpath = substr($path, 0, strpos($path, '/')) . '/lib' . substr($path, strpos($path, '/'));
 				$fullPath = stream_resolve_include_path($appDir['path'] . '/' . $libpath);
 				if (file_exists($fullPath)) {