[geeklog-cvs] geeklog-1.3/system/classes downloader.class.php,1.6,1.7
vinny at iowaoutdoors.org
vinny at iowaoutdoors.org
Sat Oct 9 23:38:33 EDT 2004
Update of /var/cvs/geeklog-1.3/system/classes
In directory www:/tmp/cvs-serv24247
Modified Files:
downloader.class.php
Log Message:
Removed 'dirname' call on non-file (folder) which caused the downloader
class to function incorrectly.
Index: downloader.class.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/system/classes/downloader.class.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** downloader.class.php 9 Jun 2004 18:19:35 -0000 1.6
--- downloader.class.php 10 Oct 2004 03:38:31 -0000 1.7
***************
*** 483,487 ****
// Ensure file exists
if(!is_file(($this->_sourceDirectory . $fileName)) OR
! (dirname($this->_sourceDirectory) <> dirname(realpath($this->_sourceDirectory . $fileName)))) {
$this->_addError('Specified file ' . $this->_sourceDirectory . $fileName . ' does not exist or is not accessible');
return false;
--- 483,487 ----
// Ensure file exists
if(!is_file(($this->_sourceDirectory . $fileName)) OR
! ($this->_sourceDirectory <> (dirname(realpath($this->_sourceDirectory . $fileName)) . '/'))) {
$this->_addError('Specified file ' . $this->_sourceDirectory . $fileName . ' does not exist or is not accessible');
return false;
More information about the geeklog-cvs
mailing list