🐛 Import prereqs.php in header.php
Signed-off-by: Luke Tainton <luke@tainton.uk>
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
require_once __DIR__ . "/includes/prereqs.php";
|
||||||
$PAGE_TITLE = $PAGE_NAME . " :: " . $_ENV['APP_NAME'];
|
$PAGE_TITLE = $PAGE_NAME . " :: " . $_ENV['APP_NAME'];
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
$PAGE_NAME = "Home";
|
$PAGE_NAME = "Home";
|
||||||
require_once __DIR__ . "/../includes/prereqs.php";
|
|
||||||
require_once __DIR__ . "/../includes/header.php";
|
require_once __DIR__ . "/../includes/header.php";
|
||||||
|
|
||||||
// Get user's own tickets
|
// Get user's own tickets
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
$PAGE_NAME = "New request";
|
$PAGE_NAME = "New request";
|
||||||
require_once __DIR__ . "/../includes/prereqs.php";
|
|
||||||
require_once __DIR__ . "/../includes/header.php";
|
require_once __DIR__ . "/../includes/header.php";
|
||||||
|
|
||||||
// If form submitted, save to database
|
// If form submitted, save to database
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
$PAGE_NAME = "Open requests";
|
$PAGE_NAME = "Open requests";
|
||||||
require_once __DIR__ . "/../includes/prereqs.php";
|
|
||||||
require_once __DIR__ . "/../includes/header.php";
|
require_once __DIR__ . "/../includes/header.php";
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
$PAGE_NAME = "View Request";
|
$PAGE_NAME = "View Request";
|
||||||
require_once __DIR__ . "/../includes/prereqs.php";
|
|
||||||
require_once __DIR__ . "/../includes/header.php";
|
require_once __DIR__ . "/../includes/header.php";
|
||||||
|
|
||||||
// Get ticket
|
// Get ticket
|
||||||
|
|||||||
Reference in New Issue
Block a user