Welcome Guest, Not a member yet? Register   Sign In
how can i find out which templates i have loaded?
#1

[eluser]helle[/eluser]
Can i find out, when the whole site is loaded, which templates are displayed on then?
Is it stored globally?
#2

[eluser]WanWizard[/eluser]
What is your definition of a template?
#3

[eluser]helle[/eluser]
okay, i mean all views i am loading
#4

[eluser]WanWizard[/eluser]
The loader writes a debug line to the logfile, so you can set the log_threshold to a level that includes debug messages.
You shouldn't do this on a production site, writing debug info to the logs slows your application down considerably.
#5

[eluser]helle[/eluser]
well i want to know the templates @ runtime and will not parse a log file for it ... :-)
#6

[eluser]WanWizard[/eluser]
Extend the Loader library, and capture calls to $this->load->view()?




Theme © iAndrew 2016 - Forum software by © MyBB