diff options
-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'; - } } |