mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 11:24:27 +02:00
- bugfix fixed typo regarding yesterdays change to allow streamWrapper
This commit is contained in:
@@ -1,4 +1,7 @@
|
|||||||
===== SVN trunk =====
|
===== SVN trunk =====
|
||||||
|
12/12/2010
|
||||||
|
- bugfix fixed typo regarding yesterdays change to allow streamWrapper
|
||||||
|
|
||||||
11/12/2010
|
11/12/2010
|
||||||
- bugfix nested block tags in template inheritance child templates did not work correctly
|
- 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
|
- 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');
|
$_tmp_file = tempnam($_dirpath, 'wrt');
|
||||||
|
|
||||||
if (!($fd = @fopen($_tmp_file, 'wb'))) {
|
if (!($fd = @fopen($_tmp_file, 'wb'))) {
|
||||||
$_tmp_file = $_dirname . DS . uniqid('wrt');
|
$_tmp_file = $_dirpath . DS . uniqid('wrt');
|
||||||
if (!($fd = @fopen($_tmp_file, 'wb'))) {
|
if (!($fd = @fopen($_tmp_file, 'wb'))) {
|
||||||
throw new SmartyException("unable to write file {$_tmp_file}");
|
throw new SmartyException("unable to write file {$_tmp_file}");
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user