Jump to content

[SOLVED] Can't find index.php


Recommended Posts

Here is the code. It is from pingdom and I it is going to test the load time of my website.

 

<script>
var _prum = [['id', '527a02ddabe53d5b13000000'],
             ['mark', 'firstbyte', (new Date()).getTime()]];
(function() {
    var s = document.getElementsByTagName('script')[0]
      , p = document.createElement('script');
    p.async = 'async';
    p.src = '//rum-static.pingdom.net/prum.min.js';
    s.parentNode.insertBefore(p, s);
})();
</script>
  

Edited by hurray (see edit history)
Link to comment
Share on other sites

so your script using brackets. if any code you're trying to add use brackets - then you have to use {literal}{/literal} tags like i show below:

{literal}
<script>
var _prum = [['id', '527a02ddabe53d5b13000000'],
             ['mark', 'firstbyte', (new Date()).getTime()]];
(function() {
    var s = document.getElementsByTagName('script')[0]
      , p = document.createElement('script');
    p.async = 'async';
    p.src = '//rum-static.pingdom.net/prum.min.js';
    s.parentNode.insertBefore(p, s);
})();
</script>
{/literal}
Link to comment
Share on other sites

×
×
  • Create New...