summaryrefslogtreecommitdiff
path: root/lib/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/config.php')
-rw-r--r--lib/config.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/config.php b/lib/config.php
new file mode 100644
index 0000000..0dbe2dc
--- /dev/null
+++ b/lib/config.php
@@ -0,0 +1,15 @@
+<?php
+class Config {
+ public static $hostname = 'indiepost.dev';
+ public static $gaid = '';
+
+ public static $dbHost = '127.0.0.1';
+ public static $dbName = 'indiepost';
+ public static $dbUsername = 'indiepost';
+ public static $dbPassword = '';
+
+ public static function instagramRedirectURI() {
+ return 'http://'.Config::$hostname.'/auth/instagram-callback';
+ }
+}
+