Move reflist classes to their own directories
[gitphp.git] / include / AutoLoader.class.php
blob:a/include/AutoLoader.class.php -> blob:b/include/AutoLoader.class.php
--- a/include/AutoLoader.class.php
+++ b/include/AutoLoader.class.php
@@ -49,6 +49,12 @@
 			$path = 'git/projectlist/';
 		} else if (strncmp($classname, 'FileMimeType', 12) === 0) {
 			$path = 'git/filemimetype/';
+		} else if (strncmp($classname, 'RefList', 7) === 0) {
+			$path = 'git/reflist/';
+		} else if (strncmp($classname, 'TagList', 7) === 0) {
+			$path = 'git/taglist/';
+		} else if (strncmp($classname, 'HeadList', 8) === 0) {
+			$path = 'git/headlist/';
 		} else if (strpos($classname, 'Cache') !== false) {
 			$path = 'cache/';
 		} else if (in_array($classname, array(

comments