forked from kevinowino869/mitrobill
Add login Internet from User account
This commit is contained in:
11
index.php
11
index.php
@ -2,6 +2,15 @@
|
||||
/**
|
||||
* PHP Mikrotik Billing (https://github.com/hotspotbilling/phpnuxbill/)
|
||||
**/
|
||||
session_start();
|
||||
|
||||
require ('system/boot.php');
|
||||
if(isset($_GET['nux-mac']) && !empty($_GET['nux-mac'])){
|
||||
$_SESSION['nux-mac'] = $_GET['nux-mac'];
|
||||
}
|
||||
|
||||
if(isset($_GET['nux-ip']) && !empty($_GET['nux-ip'])){
|
||||
$_SESSION['nux-ip'] = $_GET['nux-ip'];
|
||||
}
|
||||
require_once 'system/vendor/autoload.php';
|
||||
require_once 'system/boot.php';
|
||||
App::_run();
|
||||
|
Reference in New Issue
Block a user