forked from dr4g0nsr/radius-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserver.php
More file actions
23 lines (20 loc) · 852 Bytes
/
Copy pathserver.php
File metadata and controls
23 lines (20 loc) · 852 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
/**
* LICENSE: This source file is subject to version 3.01 of the PHP license
* that is available through the world-wide-web at the following URI:
* http://www.php.net/license/3_01.txt. If you did not receive a copy of
* the PHP License and are unable to obtain it through the web, please
* send a note to [email protected] so we can mail you a copy immediately.
*
* @author Dragutin Cirkovic <[email protected]>
* @copyright 2021-2021 CirkoTech
* @license http://www.php.net/license/3_01.txt PHP License 3.01
*/
require_once __DIR__ . DIRECTORY_SEPARATOR . "init.php";
$radius = new \server\RadiusServer();
$radius->debugLevel = $config['debug'];
$radius->load_dictionary();
$radius->reverse_dictionary();
$radius->initialize();
$radius->radius_run($config);