cvs: pear /HTML_Template_Flexy/Flexy/Filter SimpleTags.php
| From: | Alan Knowles | Date: | Sat, 24 Aug 2002 00:36:57 +0000 |
| Subject: | cvs: pear /HTML_Template_Flexy/Flexy/Filter SimpleTags.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-5919@lists.php.net to get a copy of this message | ||
alan_k Fri Aug 23 20:36:57 2002 EDT
Modified files:
/pear/HTML_Template_Flexy/Flexy/Filter SimpleTags.php
Log:
fixed bug caused by removing setoption stuff
Index: pear/HTML_Template_Flexy/Flexy/Filter/SimpleTags.php
diff -u pear/HTML_Template_Flexy/Flexy/Filter/SimpleTags.php:1.1
pear/HTML_Template_Flexy/Flexy/Filter/SimpleTags.php:1.2
--- pear/HTML_Template_Flexy/Flexy/Filter/SimpleTags.php:1.1 Fri Aug 23 02:55:21 2002
+++ pear/HTML_Template_Flexy/Flexy/Filter/SimpleTags.php Fri Aug 23 20:36:56 2002
@@ -354,8 +354,8 @@
$input = preg_replace(
"/".$this->start."t_include:#([a-z0-9_.]+)#".$this->stop."/ie",
- "'<?php if (file_exists(\"" .
$this->engine->option['templateDir'] .
- "/\\1\")) include(\"" .
$this->engine->option['templateDir'] . "/\\1\");?>'",
+ "'<?php if (file_exists(\"" .
$this->engine->options['templateDir'] .
+ "/\\1\")) include(\"" .
$this->engine->options['templateDir'] . "/\\1\");?>'",
$input);
return $input;