/var/www/hkosl.com/imusiccircle/paypal/lib/paypal-merchant-sdk-php-251a6bd/samples/PPBootStrap.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
/**
 * Include this file in your application. This file sets up the required classloader based on
* whether you used composer or the custom installer.
*/

//
require_once 'Configuration.php';
/*
 * @constant PP_CONFIG_PATH required if credentoal and configuration is to be used from a file
* Let the SDK know where the sdk_config.ini file resides.
*/
//define('PP_CONFIG_PATH', dirname(__FILE__));

/*
 * use autoloader
*/
if(file_existsdirname(__FILE__). '/vendor/autoload.php')) {
require 
'vendor/autoload.php';
} else {
require 
'PPAutoloader.php';
    
PPAutoloader::register();
}