Custom cache directory line was not written

I added line which helps to add custome cache directory instead of using prebuilt $CACHE_PATH
This commit is contained in:
cavid90
2018-02-15 00:39:53 +04:00
committed by GitHub
parent 4e542cb093
commit bdf42fbf9d

View File

@@ -88,6 +88,7 @@ function getApiContext($clientId, $clientSecret)
'log.FileName' => '../PayPal.log',
'log.LogLevel' => 'DEBUG', // PLEASE USE `INFO` LEVEL FOR LOGGING IN LIVE ENVIRONMENTS
'cache.enabled' => true,
//'cache.FileName' => '/PaypalCache' // for determining paypal cache directory
// 'http.CURLOPT_CONNECTTIMEOUT' => 30
// 'http.headers.PayPal-Partner-Attribution-Id' => '123123123'
//'log.AdapterFactory' => '\PayPal\Log\DefaultLogFactory' // Factory class implementing \PayPal\Log\PayPalLogFactory