com web/rmtools: fix include path: include/Tools.php
| From: | Anatol Belski | Date: | Wed, 16 Nov 2016 21:42:20 +0000 |
| Subject: | com web/rmtools: fix include path: include/Tools.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-25908@lists.php.net to get a copy of this message | ||
Commit: c7dde9fdfe2af790d42fea736807231b01a93e6d
Author: Anatol Belski <ab@php.net> Wed, 16 Nov 2016 22:42:20 +0100
Parents: 41423b1d541e4e3955e59135d7eba76a0ab663e0
Branches: master
Link: http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=c7dde9fdfe2af790d42fea736807231b01a93e6d
Log:
fix include path
Changed paths:
M include/Tools.php
Diff:
diff --git a/include/Tools.php b/include/Tools.php
index 7e309e4..b53cf5a 100644
--- a/include/Tools.php
+++ b/include/Tools.php
@@ -127,7 +127,7 @@ function upload_file($src, $target)
function upload_file_curl($src, $target) // SAZ - Like upload_file(), but using curl
{
- include 'C:/php-sdk/rmtools-client/data/config/credentials_ftps.php';
+ include __DIR__ . '/../data/config/credentials_ftps.php';
$ftp_user = $user_snaps;
$ftp_password = $password;