You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dragonpolls/bootstrap.php

21 lines
416 B

2 years ago
<?php
require __DIR__ .'/vendor/autoload.php';
use APnutI\APnutI;
use Monolog\Logger;
2 years ago
session_start();
$config = include(__DIR__.'/config.php');
$api = new APnutI(
$config['client_secret'],
$config['client_id'],
2 years ago
$config['permission_scopes'],
$config['app_name'],
$config['callback_url'],
__DIR__.'/'.$config['log_file'],
$config['log_level']
2 years ago
);
require_once __DIR__ . '/globals.php';