mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 10:54:27 +02:00
- bugfix fixed typo regarding yesterdays change to allow streamWrapper
This commit is contained in:
@@ -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
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user