From 37c674cedb90a9e93ca4b84506f9fa0aa492aebc Mon Sep 17 00:00:00 2001 From: Thedro Neely Date: Sun, 5 Jan 2020 01:58:52 -0500 Subject: bootstrap/Bootstrap: Add new helpers --- bootstrap/Bootstrap.php | 4 ++-- bootstrap/Functions.php | 32 -------------------------------- bootstrap/Helpers.php | 39 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 41 insertions(+), 34 deletions(-) delete mode 100644 bootstrap/Functions.php create mode 100644 bootstrap/Helpers.php (limited to 'bootstrap') diff --git a/bootstrap/Bootstrap.php b/bootstrap/Bootstrap.php index 8285bbe..c21d317 100644 --- a/bootstrap/Bootstrap.php +++ b/bootstrap/Bootstrap.php @@ -3,8 +3,8 @@ /* composer autoload */ require $_SERVER['DOCUMENT_ROOT'] . '/..' . '/vendor/autoload.php'; -/* source functions */ -require $_SERVER['DOCUMENT_ROOT'] . '/..' . '/bootstrap/Functions.php'; +/* source helper functions */ +require $_SERVER['DOCUMENT_ROOT'] . '/..' . '/bootstrap/Helpers.php'; /* source config file */ $config = include $_SERVER['DOCUMENT_ROOT'] . '/..' . '/AppConfig.php'; diff --git a/bootstrap/Functions.php b/bootstrap/Functions.php deleted file mode 100644 index 6e28cbc..0000000 --- a/bootstrap/Functions.php +++ /dev/null @@ -1,32 +0,0 @@ -