remove comment

This commit is contained in:
mohrt
2001-02-10 23:53:43 +00:00
parent 983c48ec64
commit 43739c19a2
2 changed files with 0 additions and 2 deletions

View File

@@ -523,7 +523,6 @@ class Smarty
if(!$this->allow_php) {
/* we don't allow php, so echo anything in <? ?> */
$text_blocks[$curr_tb] = str_replace($curr_sp,'<?php echo \''.str_replace("'","\'",$curr_sp).'\'; ?>',$text_blocks[$curr_tb]);
/* echo <script language=php> tag */
}
elseif(!preg_match("!^(<\?(php | )|<script\s*language\s*=\s*[\"\']?php[\"\']?\s*>)!i",$curr_sp))
/* we allow php, so echo only non-php such as <?xml ?> */

View File

@@ -523,7 +523,6 @@ class Smarty
if(!$this->allow_php) {
/* we don't allow php, so echo anything in <? ?> */
$text_blocks[$curr_tb] = str_replace($curr_sp,'<?php echo \''.str_replace("'","\'",$curr_sp).'\'; ?>',$text_blocks[$curr_tb]);
/* echo <script language=php> tag */
}
elseif(!preg_match("!^(<\?(php | )|<script\s*language\s*=\s*[\"\']?php[\"\']?\s*>)!i",$curr_sp))
/* we allow php, so echo only non-php such as <?xml ?> */