summaryrefslogtreecommitdiff
path: root/lib/config.template.php
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2014-05-24 14:41:21 -0700
committerAaron Parecki <aaron@parecki.com>2014-05-24 14:41:21 -0700
commit3f82ec2f757c62c25a31b461e0a0cddc14886117 (patch)
tree8eb85c7f356df87f2bf477a54c7ab521002492a1 /lib/config.template.php
Working app! Copied signin logic from OwnYourGram. New "post" interface for writing a simple text post. Also supports browser geolocation.
Diffstat (limited to 'lib/config.template.php')
-rw-r--r--lib/config.template.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/config.template.php b/lib/config.template.php
new file mode 100644
index 0000000..0dbe2dc
--- /dev/null
+++ b/lib/config.template.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';
+ }
+}
+