CodeIgniter Forums
Alternative Module Calling - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Alternative Module Calling (/thread-13649.html)



Alternative Module Calling - El Forum - 12-01-2008

[eluser]dag[/eluser]
Hi all,

i'm using CI 1.7 with ME 5.139
At the moment everything is working well, now I wonder whether the following approach is easy to implement

I want to have a special "module-controller" from which all modules are called

for example:
www.example.com/index.php/modulecall/MODULENAME/MODULECONTROLLER/MODULEMETHOD/PARAM1/...

so far, so easy. Within my module-controller i use the module::run method from ME.

The Problem i have is that all Modules are still accessible through

www.example.com/index.php/MODULENAME/MODULECONTROLLER/MODULEMETHOD/PARAM1/...

Does anyone of you have an simple idea how to make the modules only accesible through the "module-controller" ?

any help appreciated