27 lines
590 B
PHP
27 lines
590 B
PHP
<?php
|
|
/**
|
|
* Include this file in your application. This file sets up the required classloader based on
|
|
* whether you used composer or the custom installer.
|
|
*/
|
|
//
|
|
|
|
/*
|
|
* @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_exists( dirname(__FILE__). '/vendor/autoload.php')) {
|
|
require dirname(__FILE__).'/vendor/autoload.php';
|
|
} else {
|
|
require 'PPAutoloader.php';
|
|
PPAutoloader::register();
|
|
}
|
|
|
|
|
|
|
|
|
|
|