summaryrefslogtreecommitdiff
path: root/src/Config/Config.php
diff options
context:
space:
mode:
authorFbenas <philbeansburton@gmail.com>2017-03-12 04:02:03 +0000
committerFbenas <philbeansburton@gmail.com>2017-03-12 04:02:03 +0000
commit755248886ad294bade86cb8a5ce36465b5193f36 (patch)
treed7a55ad3b1913b2a71e3616a3b14693268b10b22 /src/Config/Config.php
parent1eeeb808275e6e0bcff6ed0c2e7b109d81da67e7 (diff)
Inital commit, created message handler
Diffstat (limited to 'src/Config/Config.php')
-rw-r--r--src/Config/Config.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/Config/Config.php b/src/Config/Config.php
new file mode 100644
index 0000000..10236f0
--- /dev/null
+++ b/src/Config/Config.php
@@ -0,0 +1,17 @@
+<?php
+
+namespace App\Config;
+
+class Config
+{
+ protected static $config;
+
+ public static function getconfig()
+ {
+ if (!static::$config) {
+ static::$config = include SITE_ROOT . '/config/messages.php';
+ }
+
+ return static::$config;
+ }
+} \ No newline at end of file