Portal code style tidy
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
* Includes for all pages (except login)
|
||||
*/
|
||||
|
||||
include('../config.php');
|
||||
include('../functions.php');
|
||||
include('check_login.php');
|
||||
include('portal_functions.php');
|
||||
require_once('../config.php');
|
||||
require_once('../functions.php');
|
||||
require_once('check_login.php');
|
||||
require_once('portal_functions.php');
|
||||
|
||||
if (!isset($_SESSION)) {
|
||||
// HTTP Only cookies
|
||||
@@ -19,4 +19,4 @@ if(!isset($_SESSION)){
|
||||
session_start();
|
||||
}
|
||||
|
||||
include("portal_header.php");
|
||||
require_once("portal_header.php");
|
||||
+1
-1
@@ -128,4 +128,4 @@ $total_tickets = $row['total_tickets'];
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php include("portal_footer.php"); ?>
|
||||
<?php require_once("portal_footer.php"); ?>
|
||||
+1
-1
@@ -38,4 +38,4 @@ require('inc_portal.php');
|
||||
<?php endif ?>
|
||||
|
||||
<?php
|
||||
include('portal_footer.php');
|
||||
require_once('portal_footer.php');
|
||||
@@ -47,4 +47,4 @@ require('inc_portal.php');
|
||||
</div>
|
||||
|
||||
<?php
|
||||
include('portal_footer.php');
|
||||
require_once('portal_footer.php');
|
||||
|
||||
@@ -69,4 +69,4 @@ $all_tickets = mysqli_query($mysqli, "SELECT * FROM tickets LEFT JOIN contacts O
|
||||
</div>
|
||||
|
||||
<?php
|
||||
include('portal_footer.php');
|
||||
require_once('portal_footer.php');
|
||||
Reference in New Issue
Block a user