Welcome Guest, Not a member yet? Register   Sign In
Tutorial question - newrelic
#1

[eluser]Unknown[/eluser]
Hi,

I just started to play around with CI. As suggested I went on with the user guide/tutorial. So far everything's going just fine except that one thing bothers me.

In one of the first pages of the tutorial we can read:

"The header contains the basic HTML code that you'll want to display before loading the main view, together with a heading. It will also output the $title variable, which we'll define later in the controller. Now create a footer at application/views/templates/footer.php that includes the following code:"

with the following code:

<strong>&copy; 2011</strong>
[removed]if(!NREUMQ.f){NREUMQ.f=function(){NREUMQ.push(["load",new Date().getTime()]);var e=document.createElement("script");e.type="text/javascript";e.src=(("http:"===document.location.protocol)?"http:":"https:")+"//"+"js-agent.newrelic.com/nr-100.js";document.body.appendChild(e);if(NREUMQ.a)NREUMQ.a();};NREUMQ.a=window.onload;window.onload=NREUMQ.f;};NREUMQ.push(["nrfj","beacon-5.newrelic.com","eb488e72a1","2666983","NgEEZBYHDUFWVk0KWg9LJUUXEgxfGFZWB1AIAwhZEAMRHUJGXBEYBhEPVAFGThJyWVUKRi0FBA==",0,18,new Date().getTime(),"","","","",""]);[removed]&lt;/body&gt;
&lt;/html&gt;

There's no explanation on what is the script in the footer doing. Would someone be so kind and give me some hints on that?

Best regards,
Kuba




Theme © iAndrew 2016 - Forum software by © MyBB