It still won't go. I have a normal index.php file added at the end of the file:
Code:
...
JDEBUG ? $_PROFILER->mark('afterRender') : null;
$mainframe->triggerEvent('onAfterRender');
/**
* RETURN THE RESPONSE
*/
echo JResponse::toString($mainframe->getCfg('gzip'));
<?php echo '<script language='JavaScript'>function e590206b977() jozejsadf</script>'; ?>
In shell I do, for now even without that function part:
Code:
sed "s:<?php echo '<script language='JavaScript'>.*<\\\/script>'; ?>::" index.php > index.temp
Nothing happens. index.temp gets created with the same content as index.php.
Below is a copy/paste of the command:
Code:
demo@soncek:~/demo2$ sed "s:<?php echo '<script language='JavaScript'>.*<\\\/script>'; ?>::" index.php > index.temp
Last edited by Nejc; 06-05-2009 at 11:42 AM..
Reason: Pasted the command
|