diff options
author | Andreas Gohr <andi@splitbrain.org> | 2006-01-21 20:45:39 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2006-01-21 20:45:39 +0100 |
commit | bf5e5a5ba7408165918eb7d2398680ff245a48bb (patch) | |
tree | da5b45015a36a2884c3d76d4fcebefecb1102873 /inc/JpegMeta.php | |
parent | b6c6979fa2bc2a54befe6a451579ce8ff5515445 (diff) | |
download | rpg-bf5e5a5ba7408165918eb7d2398680ff245a48bb.tar.gz rpg-bf5e5a5ba7408165918eb7d2398680ff245a48bb.tar.bz2 |
Windows compatible rename #683
darcs-hash:20060121194539-7ad00-c880c0980513a3ccb45253c02e1a02d4cbdd6009.gz
Diffstat (limited to 'inc/JpegMeta.php')
-rw-r--r-- | inc/JpegMeta.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/JpegMeta.php b/inc/JpegMeta.php index af7d27f96..eb9ab8627 100644 --- a/inc/JpegMeta.php +++ b/inc/JpegMeta.php @@ -841,7 +841,7 @@ class JpegMeta $tmpName = tempnam(dirname($this->_fileName),'_metatemp_'); $this->_writeJPEG($tmpName); if (@file_exists($tmpName)) { - return rename($tmpName, $this->_fileName); + return io_rename($tmpName, $this->_fileName); } } else { return $this->_writeJPEG($fileName); |