Commit fd9ac55a authored by bcosca's avatar bcosca
Browse files

Allow lowercase folder names

parent 5363a916
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1387,7 +1387,8 @@ final class Base {
		foreach ($this->split($this->hive['PLUGINS'].';'.
			$this->hive['AUTOLOAD']) as $auto)
			if (is_file($file=$auto.$class.'.php') ||
				is_file($file=$auto.strtolower($class).'.php'))
				is_file($file=$auto.strtolower($class).'.php') ||
				is_file($file=strtolower($auto.$class).'.php'))
				return require($file);
	}