CodeIgniter Forums
How to use Ion-Auth in Modular Extensions - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: How to use Ion-Auth in Modular Extensions (/showthread.php?tid=36216)



How to use Ion-Auth in Modular Extensions - El Forum - 11-25-2010

[eluser]Massimiliano Marini[/eluser]
Hi all,

I want to use Ion-Auth in my project, but I'm having some problems and I feel lost and stuck.

I tried to look inside PyroCMS code, but Phil has made some own customizations and I've lost the plot.

Actually, my default controller is:
Code:
$route['default_controller'] = "dashboard";
located in
Code:
/application/modules/dashboard/controllers/dashboard

I'm using template library and modular extensions, all seems works fine but now I need to implement an authentication system, and Ion-Auth seems to be good for this job, but nothing I can't setup this.

Looking inside the forum I've found this post but nothing.

If someone has any kind of helps, tips, links, tutorials about this or another auth library that is more closer to my project structure, please let me know.


How to use Ion-Auth in Modular Extensions - El Forum - 11-25-2010

[eluser]Davide Bellini[/eluser]
Please, post your code ....


How to use Ion-Auth in Modular Extensions - El Forum - 11-26-2010

[eluser]wiredesignz[/eluser]
Why can you not just put Ion-Auth into the application directory where it was originally intended to go?


How to use Ion-Auth in Modular Extensions - El Forum - 11-26-2010

[eluser]AndrewTurner[/eluser]
You place it into the application directory as wiredesignz said, and either load it using autoload or load it into your module's controllers as you normally would.