Commit 25978b344dea3c49be22368982c9cb2a71f150be

Authored by Adriano Vieira
1 parent 2a7c0c3d
Exists in master and in 1 other branch 3.1

- corrigido erro de ftp (ticket #46)

git-svn-id: http://svn.softwarepublico.gov.br/svn/cacic/cacic/trunk/gerente@467 fecfc0c7-e812-0410-ae72-849f08638ee7
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
include/library.php
... ... @@ -1573,7 +1573,7 @@ function CheckFtpLogin($server, $user, $pass, $port)
1573 1573 $data = fgets($sck, 1024);
1574 1574 fputs($sck, "PASS $pass\n");
1575 1575 $data = fgets($sck, 1024);
1576   - if (ereg("230", $data))
  1576 + if (ereg("230", $data) or ereg("220", $data))
1577 1577 {
1578 1578 # User logged in
1579 1579 return 1;
... ...