- bugfix fixed typo regarding yesterdays change to allow streamWrapper

This commit is contained in:
uwe.tews@googlemail.com
2010-12-12 12:45:52 +00:00
parent b8b68d7edf
commit 5999777341
2 changed files with 4 additions and 1 deletions

View File

@@ -1,4 +1,7 @@
===== SVN trunk =====
12/12/2010
- bugfix fixed typo regarding yesterdays change to allow streamWrapper
11/12/2010
- bugfix nested block tags in template inheritance child templates did not work correctly
- bugfix {$smarty.current_dir} in child template did not point to dir of child template

View File

@@ -31,7 +31,7 @@ class Smarty_Internal_Write_File {
$_tmp_file = tempnam($_dirpath, 'wrt');
if (!($fd = @fopen($_tmp_file, 'wb'))) {
$_tmp_file = $_dirname . DS . uniqid('wrt');
$_tmp_file = $_dirpath . DS . uniqid('wrt');
if (!($fd = @fopen($_tmp_file, 'wb'))) {
throw new SmartyException("unable to write file {$_tmp_file}");
return false;