cvs: smarty /libs Smarty_Compiler.class.php
"Monte Ohrt" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsmohrt1093976317@cvsserver> |
mohrt Tue Aug 31 14:18:37 2004 EDT
Modified files:
/smarty/libs Smarty_Compiler.class.php
Log:
fix preg_quote
http://cvs.php.net/diff.php/smarty/libs/Smarty_Compiler.class.php?r1=1.334&r2=1.335&ty=u
Index: smarty/libs/Smarty_Compiler.class.php
diff -u smarty/libs/Smarty_Compiler.class.php:1.334 smarty/libs/Smarty_Compiler.class.php:1.335
--- smarty/libs/Smarty_Compiler.class.php:1.334 Tue Aug 31 12:35:57 2004
+++ smarty/libs/Smarty_Compiler.class.php Tue Aug 31 14:18:36 2004
@@ -26,7 +26,7 @@
* @package Smarty
*/
-/* $Id: Smarty_Compiler.class.php,v 1.334 2004/08/31 16:35:57 mohrt Exp $ */
+/* $Id: Smarty_Compiler.class.php,v 1.335 2004/08/31 18:18:36 mohrt Exp $ */
/**
* Template compiling class
@@ -228,8 +228,8 @@
$this->_current_file = $resource_name;
$this->_current_line_no = 1;
- $ldq = preg_quote($this->left_delimiter, '!');
- $rdq = preg_quote($this->right_delimiter, '!');
+ $ldq = preg_quote($this->left_delimiter, '~');
+ $rdq = preg_quote($this->right_delimiter, '~');
// run template source through prefilter functions
if (count($this->_plugins['prefilter']) > 0) {
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php