- cahnged get_path/url to root_path/url - changed path setup -> now automatic from inside plugin
27 lines
783 B
PHP
27 lines
783 B
PHP
<?php
|
|
|
|
/*
|
|
* it means someone outside wp is accessing the file, in this case kill it.
|
|
*/
|
|
if (!defined('ABSPATH')) {
|
|
die('You can not access this file!');
|
|
}
|
|
|
|
|
|
|
|
include_once(PLGNTLS_class::root_path() . '/php/utils/http_errors.php');
|
|
include_once(PLGNTLS_class::root_path() . '/php/paypal/route_api_utils.php');
|
|
include_once(PLGNTLS_class::root_path() . '/php/paypal/user_can_pay.php');
|
|
include_once(PLGNTLS_class::root_path() . '/php/paypal/update_user_payment.php');
|
|
include_once(PLGNTLS_class::root_path() . '/php/paypal/shortcode.php');
|
|
include_once(PLGNTLS_class::root_path() . '/php/paypal/route_api_orders.php');
|
|
include_once(PLGNTLS_class::root_path() . '/php/paypal/route_api_orders_capture.php');
|
|
include_once(PLGNTLS_class::root_path() . '/php/paypal/routes.php');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
?>
|