Permalink
Browse files

Update framework/web/CClientScript.php

Changed renderHead() method for render clients scripts after </title>
  • Loading branch information...
1 parent 8433a3b commit 28c198a112f948661107f609ed304052e979e97e @horechek horechek committed Dec 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 framework/web/CClientScript.php
@@ -372,7 +372,7 @@ public function renderHead(&$output)
if($html!=='')
{
$count=0;
- $output=preg_replace('/<\\/title\s*>/is','<###head###>$1',$output,1,$count);
+ $output=preg_replace('/<\\/title\s*>/is','$1<###head###>',$output,1,$count);
if($count)
$output=str_replace('<###head###>',$html,$output);
else

0 comments on commit 28c198a

Please sign in to comment.