Welcome Guest, Not a member yet? Register   Sign In
Modules folder
#1

[eluser]regal2157[/eluser]
I'm relatively new to CI, and I was glancing at a project on github - A3M.

I see he utilizes the modules folder, but I see no actual call to the folder. For example, in the home.php controller, (default controller) He calls:
$this->load->library(array('account/authentication'));

I don't understand how it knows to go to /modules/account/libraries/authentication.php

I see no routes anywhere redirecting things..

I've seen a few things in the Wiki, but nothing I picked up to the solution of my question.

Anyways, if you understand my question and can help me - it would be greatly appreciated.
#2

[eluser]danmontgomery[/eluser]
A3M uses modular extensions, which extends the router class to check for module/controller/method instead of just controller/method. https://github.com/pengkong/A3M-for-Code...Router.php
#3

[eluser]regal2157[/eluser]
EDIT:

Sorry, I finally found it's using HMVC.. after digging through countless files.

Please ignore the topic.

EDIT2: Thanks. We were only a minute apart.




Theme © iAndrew 2016 - Forum software by © MyBB