summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2014-05-24 14:56:39 -0700
committerAaron Parecki <aaron@parecki.com>2014-05-24 14:56:39 -0700
commitdd3501838d8c7aa51c54123a15dc9be54d55df2e (patch)
tree31192a1d4f9ddfb467efe23b599f9ed66a0552ac
parente357730b316827789a6a677d197a58135033fce6 (diff)
remove config file
-rw-r--r--.gitignore2
-rw-r--r--lib/config.php15
-rw-r--r--lib/config.template.php4
3 files changed, 2 insertions, 19 deletions
diff --git a/.gitignore b/.gitignore
index 8c126ea..8da9587 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,4 @@
vendor/
.DS_Store
+lib/config.php
+
diff --git a/lib/config.php b/lib/config.php
deleted file mode 100644
index 0dbe2dc..0000000
--- a/lib/config.php
+++ /dev/null
@@ -1,15 +0,0 @@
-<?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';
- }
-}
-
diff --git a/lib/config.template.php b/lib/config.template.php
index 0dbe2dc..b0dbab5 100644
--- a/lib/config.template.php
+++ b/lib/config.template.php
@@ -7,9 +7,5 @@ class Config {
public static $dbName = 'indiepost';
public static $dbUsername = 'indiepost';
public static $dbPassword = '';
-
- public static function instagramRedirectURI() {
- return 'http://'.Config::$hostname.'/auth/instagram-callback';
- }
}