diff --git a/sample/bootstrap.php b/sample/bootstrap.php index 34245a49..6d1513bb 100644 --- a/sample/bootstrap.php +++ b/sample/bootstrap.php @@ -22,6 +22,10 @@ use PayPal\Auth\OAuthTokenCredential; use PayPal\Rest\ApiContext; +// Suppress DateTime warnings, if not set already +date_default_timezone_set(@date_default_timezone_get()); + +// Adding Error Reporting for understanding errors properly error_reporting(E_ALL); ini_set('display_errors', '1');