CodeIgniter Forums
Creating a demo version of a CI app - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Creating a demo version of a CI app (/showthread.php?tid=11888)



Creating a demo version of a CI app - El Forum - 09-26-2008

[eluser]EEssam[/eluser]
Hi,

I almost finished programming my CI app and now I need a way to offer a demo for my site visitors. All I need is to disable the ability to add, edit or delete something from the database. I'm using ActiveRecord.

Any idea?

Thanks.


Creating a demo version of a CI app - El Forum - 09-27-2008

[eluser]richthegeek[/eluser]
change the MySQL user to one without those priviliges?

or replace the add/edit/delete views with "no can do" ones?