blob: f02da414f53f9530d33e1b10c39c1a3f6e811984 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
<?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';
|