CodeIgniter Forums
what happens if I load a helper twice, or more than once accidentally - 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: what happens if I load a helper twice, or more than once accidentally (/showthread.php?tid=30180)



what happens if I load a helper twice, or more than once accidentally - El Forum - 05-05-2010

[eluser]Flying Fish[/eluser]
any idea what would happen if I accidentally loaded a helper twice?

or is there a way to test if a helper is loaded?


what happens if I load a helper twice, or more than once accidentally - El Forum - 05-05-2010

[eluser]WanWizard[/eluser]
Nothing, it will be ignored. Same for all other items you can load.


what happens if I load a helper twice, or more than once accidentally - El Forum - 05-05-2010

[eluser]umefarooq[/eluser]
if you want to check that just enable log_threshold in config with 4 the you can check the log, it will not load helper again if it is called again


what happens if I load a helper twice, or more than once accidentally - El Forum - 05-05-2010

[eluser]Flying Fish[/eluser]
that answers my questions, thanks!