Commit:    c7dde9fdfe2af790d42fea736807231b01a93e6d
Author:    Anatol Belski <[email protected]>         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;


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to