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.
 
 
 

20 lines
416 B

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