I have a file called script.php, this is some php and some javascript mixed together. The mime type of this file is forced to javascript, so this is a normal javascript file, but extension php.
I'm tryng to insert this inside my layout throuh script function. If write:
echo $this->Html->script('rsravenna/script.php');
cakephp will try to insert script.php.js, how can avoid the append of .js?