Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
/**
3
 * Example PayPal SDK configuration file.
4
 */
5
 
6
/**
7
 * What level should we log at? Valid levels are:
8
 *   PEAR_LOG_ERR   - Log only severe errors.
9
 *   PEAR_LOG_INFO  - (default) Date/time of operation, operation name, elapsed time, success or failure indication.
10
 *   PEAR_LOG_DEBUG - Full text of SOAP requests and responses and other debugging messages.
11
 *
12
 * See the PayPal SDK User Guide for more details on these log levels.
13
 */
14
 
15
$__PP_CONFIG['log_level'] = PEAR_LOG_DEBUG;
16
 
17
/**
18
 * If we're logging, what directory should we create log files in?
19
 * Note that a log name coincides with a symlink, logging will *not*
20
 * be done to avoid security problems. File names are
21
 * <DateStamp>.PayPal.log.
22
 */
23
 
24
$__PP_CONFIG['log_dir'] = '/tmp';
25
 
26
/**
27
 * The path where custom profile storage handlers are located.
28
 *
29
 * IMPORTANT: Custom handler classes must be named ProfileHandler_<Handler Name>
30
 * and be stored in the file <Handler Name>.php within this directory
31
 */
32
$__PP_CONFIG['custom_handler_dir'] = array('/path/to/custom/handlers');
33
 
34
/**
35
 * Where Profile certificates will be stored. Must be writable by the
36
 * web server.
37
 */
38
$__PP_CONFIG['profile_cert_dir'] = '/tmp';
39
 
40
/**
41
 * The Location of the public Paypal certificate file
42
 */
43
$__PP_CONFIG['paypal_cert_file']['Live'] = '/path/to/cert/Livefile.crt';
44
$__PP_CONFIG['paypal_cert_file']['Sandbox'] = '/path/to/cert/Sandboxfile.crt';