diff options
author | Aaron Parecki <aaron@parecki.com> | 2014-05-24 14:56:39 -0700 |
---|---|---|
committer | Aaron Parecki <aaron@parecki.com> | 2014-05-24 14:56:39 -0700 |
commit | dd3501838d8c7aa51c54123a15dc9be54d55df2e (patch) | |
tree | 31192a1d4f9ddfb467efe23b599f9ed66a0552ac | |
parent | e357730b316827789a6a677d197a58135033fce6 (diff) |
remove config file
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | lib/config.php | 15 | ||||
-rw-r--r-- | lib/config.template.php | 4 |
3 files changed, 2 insertions, 19 deletions
@@ -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'; - } } |