diff options
Diffstat (limited to 'vendor/lusitanian/oauth/examples/bootstrap.php')
-rw-r--r-- | vendor/lusitanian/oauth/examples/bootstrap.php | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/vendor/lusitanian/oauth/examples/bootstrap.php b/vendor/lusitanian/oauth/examples/bootstrap.php deleted file mode 100644 index f02da414..00000000 --- a/vendor/lusitanian/oauth/examples/bootstrap.php +++ /dev/null @@ -1,29 +0,0 @@ -<?php - -/** - * Bootstrap the library - */ -require_once __DIR__ . '/../vendor/autoload.php'; - -/** - * Setup error reporting - */ -error_reporting(E_ALL); -ini_set('display_errors', 1); - -/** - * Setup the timezone - */ -ini_set('date.timezone', 'Europe/Amsterdam'); - -/** - * Create a new instance of the URI class with the current URI, stripping the query string - */ -$uriFactory = new \OAuth\Common\Http\Uri\UriFactory(); -$currentUri = $uriFactory->createFromSuperGlobalArray($_SERVER); -$currentUri->setQuery(''); - -/** - * Load the credential for the different services - */ -require_once __DIR__ . '/init.php'; |