forked from LiveCarta/PayPal-PHP-SDK
Merge branch 'customcachepath' of git://github.com/angelcoding/PayPal-PHP-SDK into angelcoding-customcachepath
This commit is contained in:
@@ -49,11 +49,17 @@ validation.level=log
|
||||
;Caching Configuration
|
||||
[cache]
|
||||
; If Cache is enabled, it stores the access token retrieved from ClientId and Secret from the
|
||||
; server into a file provided in constant $CACHE_PATH in PayPal/Cache/AuthorizationCache.
|
||||
; server into a file provided by the cache.FileName option or by using
|
||||
; the constant $CACHE_PATH value in PayPal/Cache/AuthorizationCache if the option is omitted/empty.
|
||||
; If the value is set to 'true', it would try to create a file and store the information.
|
||||
; For any other value, it would disable it
|
||||
; Please note, this is a very good performance improvement, and we would encourage you to
|
||||
; set this up properly to reduce the number of calls, to almost 50% on normal use cases
|
||||
; PLEASE NOTE: You may need to provide proper write permissions to /var directory under PayPal-PHP-SDK on
|
||||
; your hosting server
|
||||
; your hosting server or whichever custom directory you choose
|
||||
cache.enabled=true
|
||||
; When using a relative path, the cache file is created
|
||||
; relative to the .php file that is the entry point
|
||||
; for this request. You can also provide an absolute
|
||||
; path here
|
||||
cache.FileName=../auth.cache
|
||||
|
||||
Reference in New Issue
Block a user