From: Brion Vibber Date: Tue, 29 Jun 2004 03:07:36 +0000 (+0000) Subject: PHPTal hack to fix temp dir on Windows if includes "\t" or similar. X-Git-Tag: 1.5.0alpha1~2746 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=fbc7047fc9f5eb01862fad546e1b317835f60b91;p=lhc%2Fweb%2Fwiklou.git PHPTal hack to fix temp dir on Windows if includes "\t" or similar. --- diff --git a/PHPTAL-NP-0.7.0/libs/PHPTAL/Generator.php b/PHPTAL-NP-0.7.0/libs/PHPTAL/Generator.php index 61c56edc77..147b0a02d1 100644 --- a/PHPTAL-NP-0.7.0/libs/PHPTAL/Generator.php +++ b/PHPTAL-NP-0.7.0/libs/PHPTAL/Generator.php @@ -82,7 +82,7 @@ class PHPTAL_Generator } if ($this->_gettext_required) { $this->_code = preg_replace('/^<\?php/sm', - '_code, 1); }