Skip to content

Commit

Permalink
v1.3.5 - Fixed sub-submodule ignoring issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
banago committed Mar 10, 2014
1 parent 942159a commit 22091fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions phploy
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* @author Bruno De Barros <[email protected]>
* @link http://wplancer.com
* @licence MIT Licence
* @version 1.3.4
* @version 1.3.5
*/

/**
Expand Down Expand Up @@ -174,7 +174,7 @@ class PHPloy
if (trim($line[0]) == 'Entering') continue;

$this->submodules[] = array('revision' => $line[0], 'name' => $name.'/'.$line[1], 'path' => $repo.'/'.$name.'/'.$line[1]);
$this->filesToIgnore[] = $name.'/'.$line[1];
$this->filesToIgnore[] = $line[1];
}
}
}
Expand Down Expand Up @@ -252,7 +252,7 @@ class PHPloy
$this->dotRevision = $this->isSubmodule.'/.revision';
}

if (ftp_fget($this->connection, $tmpFile, $this->dotRevision, FTP_ASCII)) {
if (@ftp_fget($this->connection, $tmpFile, $this->dotRevision, FTP_ASCII)) {
fseek($tmpFile, 0);
$remoteRevision = trim(fread($tmpFile, 1024));
fclose($tmpFile);
Expand Down

0 comments on commit 22091fd

Please sign in to comment.