php-auth-client/tests/1.php

8 lines
169 B
PHP
Raw Permalink Normal View History

2019-01-22 10:59:03 +00:00
<?php
require_once '../vendor/autoload.php';
use \PdAuth\Auth;
$auth = new Auth(require '../config/auth.php');
$auth->choose('erp');
exec('open '.$auth->connect('/'));