com web/rmtools: fix typo: include/Tools.php
| From: | Anatol Belski | Date: | Thu, 08 Dec 2016 21:13:30 +0000 |
| Subject: | com web/rmtools: fix typo: include/Tools.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-25913@lists.php.net to get a copy of this message | ||
Commit: 44c32405778c561b7dc6163e97688467926ae3c5
Author: Anatol Belski <ab@php.net> Thu, 8 Dec 2016 22:13:30 +0100
Parents: 14da3f4d23e13d316682aa2a3eb61db08de1b34b
Branches: master
Link: http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=44c32405778c561b7dc6163e97688467926ae3c5
Log:
fix typo
Changed paths:
M include/Tools.php
Diff:
diff --git a/include/Tools.php b/include/Tools..php
index bfce563..7084b01 100644
--- a/include/Tools.php
+++ b/include/Tools.php
@@ -221,7 +221,7 @@ function upload_build_result_ftp_curl($src_dir, $target)
$fp = fopen($local_file, "rb");
$local_file = basename($local_file);
- $remoteurl = "ftps://" . urlencode(ftp_user) . ":" . urlencode($ftp_password)
. "@${ftp_server}${ftp_path}/logs/${local_file}";
+ $remoteurl = "ftps://" . urlencode($ftp_user) . ":" .
urlencode($ftp_password) . "@${ftp_server}${ftp_path}/logs/${local_file}";
\curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
\curl_setopt($ch, CURLOPT_URL, $remoteurl);