/[smecontribs]/rpms/smeserver-phpwebftp/contribs8/smeserver-phpwebftp-4.0-patchftpmode.patch
ViewVC logotype

Diff of /rpms/smeserver-phpwebftp/contribs8/smeserver-phpwebftp-4.0-patchftpmode.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by unnilennium, Mon Nov 4 23:51:35 2013 UTC Revision 1.2 by unnilennium, Sun Nov 24 10:05:32 2013 UTC
# Line 15  Line 15 
15          /** Set transfermode */          /** Set transfermode */
16  -       function setMode($mode=0) {  -       function setMode($mode=0) {
17  +       function setMode($mode=FTP_BINARY) {  +       function setMode($mode=FTP_BINARY) {
18  +               if ($mode==0){$mode=FTP_ASCII;}  +       #       if ($mode==0){$mode=FTP_ASCII;}
19  +               else if ($mode==1) {$mode=FTP_BINARY;}  +       #       else if ($mode==1) {$mode=FTP_BINARY;}
20                  $this->mode = $mode;                  $this->mode = $mode;
21                  return;                  return;
22          }          }


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed