Commit Graph

4 Commits

Author SHA1 Message Date
danilo
a03bcd353f Updated smarty_core_write_file() and smarty_modifier_date_format() to speed up Windows detection.
Emulated more parameters for Windows in smarty_modifier_date_format() and fixed some old ones.
Updated the docs to tell what parameters are emulated on Windows.
Updated NEWS file.
2007-02-27 22:22:09 +00:00
boots
f30371dff9 Better recognize Windows filesystems to reduce warnings 2007-01-10 16:28:38 +00:00
boots
6f0d444d50 change file writing semantics in smarty_core_write_file()
This avoids unlink() unless rename() fails or a Windows system is detected

see: http://www.phpinsider.com/smarty-forum/viewtopic.php?t=6956

Thanks to c960657 from the forums.
2006-11-08 19:00:46 +00:00
boots
a0d021ef60 Moved /libs/core to /libs/internals and created new constant, SMARTY_CORE_DIR which defaults to SMARTY_DIR/internals. This should help CVS and rsynch users butupgrades will require changes and this may affect 3rd party plugins that use the /core dir. 2004-09-16 23:07:32 +00:00