CodeIgniter Forums
prevent loading more than once - 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: prevent loading more than once (/showthread.php?tid=27155)



prevent loading more than once - El Forum - 02-02-2010

[eluser]klompie[/eluser]
is it possible to check if a file is loaded already?

$this->ci->load->file($filename, true);

how to check that $filename is loaded?