[geeklog-cvs] geeklog-1.3/system/classes upload.class.php,1.37,1.38
dhaun at iowaoutdoors.org
dhaun at iowaoutdoors.org
Wed Oct 13 15:00:20 EDT 2004
Update of /var/cvs/geeklog-1.3/system/classes
In directory www:/tmp/cvs-serv3851
Modified Files:
upload.class.php
Log Message:
Removed remains of the GIF to PNG conversion when using gdlib.
Index: upload.class.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/system/classes/upload.class.php,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** upload.class.php 12 Oct 2004 09:41:11 -0000 1.37
--- upload.class.php 13 Oct 2004 19:00:18 -0000 1.38
***************
*** 684,692 ****
$perms = $this->_getPermissions();
if (!empty($perms)) {
! if ($this->_imageLib == 'gdlib') {
! $returnChmod = chmod ($this->_fileUploadDirectory . '/' . eregi_replace ("\.gif", ".png", $this->_getDestinationName ()), octdec ($perms));
! } else {
! $returnChmod = chmod ($this->_fileUploadDirectory . '/' . $this->_getDestinationName (), octdec ($perms));
! }
}
--- 684,688 ----
$perms = $this->_getPermissions();
if (!empty($perms)) {
! $returnChmod = chmod ($this->_fileUploadDirectory . '/' . $this->_getDestinationName (), octdec ($perms));
}
More information about the geeklog-cvs
mailing list