mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
refactor: Centralize includes and initialization (#4991)
This commit is contained in:
committed by
Neil Lathwood
parent
bbf05feb90
commit
9a33464c52
@@ -1,7 +1,6 @@
|
||||
<?php
|
||||
|
||||
// Authorises bill viewing and sets $ports as reference to mysql query containing ports for this bill
|
||||
require '../includes/billing.php';
|
||||
|
||||
if (is_numeric($_GET['id']) && ($auth || bill_permitted($_GET['id']))) {
|
||||
$bill = dbFetchRow('SELECT * FROM `bills` WHERE bill_id = ?', array($_GET['id']));
|
||||
|
||||
Reference in New Issue
Block a user