Hello friends,
I need to append a variable to all Javascript files while they are included in a page automatically. The variable needs to be added before the page gets loaded.
Following is the example of what i need.
var scriptfile='http://www.whatever.com/myjs.js?rnd='+revision_number
I need to achieve this using Cake PHP. Please give your suggestions.