[pLog-svn] r6807 - plog/branches/lifetype-1.2/class/template/smarty/internals
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Wed Feb 18 13:59:40 EST 2009
Author: jondaley
Date: 2009-02-18 13:59:39 -0500 (Wed, 18 Feb 2009)
New Revision: 6807
Modified:
plog/branches/lifetype-1.2/class/template/smarty/internals/core.write_file.php
Log:
documented our only change to the smarty core
Modified: plog/branches/lifetype-1.2/class/template/smarty/internals/core.write_file.php
===================================================================
--- plog/branches/lifetype-1.2/class/template/smarty/internals/core.write_file.php 2009-02-18 18:59:01 UTC (rev 6806)
+++ plog/branches/lifetype-1.2/class/template/smarty/internals/core.write_file.php 2009-02-18 18:59:39 UTC (rev 6807)
@@ -41,6 +41,8 @@
// On platforms and filesystems that cannot overwrite with rename()
// delete the file before renaming it -- because windows always suffers
// this, it is short-circuited to avoid the initial rename() attempt
+
+ // jondaley/lifetype modification:
if( file_exists( $params['filename'])) @unlink($params['filename']);
@rename($_tmp_file, $params['filename']);
}
More information about the pLog-svn
mailing list