[eluser]alikhan88[/eluser]
@Wiredesignz
Thanks for the help , the issue was as you said the subdir name was the same as dirname , i changed the name of the subdirectory and it worked, and regarding the other issue, it means, that it's not purely HMVC because , in an ideal HMVC the module should have it's own libraries and configurations , so autoload should also work from the modular libraries. But anyway i am managing with the current situation , Thanks a lot for help