summaryrefslogtreecommitdiff
path: root/src/Config/Config.php
diff options
context:
space:
mode:
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