Skip to content

Commit

Permalink
! Deprecated warning at install time when using PHP 7. (install.php)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nao committed Jan 8, 2017
1 parent 3802cca commit 4137fe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install/install.php
Expand Up @@ -1349,7 +1349,7 @@ class ftp_connection
var $connection = 'no_connection', $error = false, $last_message, $pasv = array();

// Create a new FTP connection...
function ftp_connection($ftp_server, $ftp_port = 21, $ftp_user = 'anonymous', $ftp_pass = 'ftpclient@wedge.org')
function __construct($ftp_server, $ftp_port = 21, $ftp_user = 'anonymous', $ftp_pass = 'ftpclient@wedge.org')
{
if ($ftp_server !== null)
$this->connect($ftp_server, $ftp_port, $ftp_user, $ftp_pass);
Expand Down

0 comments on commit 4137fe0

Please sign in to comment.