Browse Source

remove config file

pull/5/head
Aaron Parecki 11 years ago
parent
commit
dd3501838d
  1. 2
      .gitignore
  2. 15
      lib/config.php
  3. 4
      lib/config.template.php

2
.gitignore

@ -1,2 +1,4 @@
vendor/ vendor/
.DS_Store .DS_Store
lib/config.php

15
lib/config.php

@ -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';
}
}

4
lib/config.template.php

@ -7,9 +7,5 @@ class Config {
public static $dbName = 'indiepost'; public static $dbName = 'indiepost';
public static $dbUsername = 'indiepost'; public static $dbUsername = 'indiepost';
public static $dbPassword = ''; public static $dbPassword = '';
public static function instagramRedirectURI() {
return 'http://'.Config::$hostname.'/auth/instagram-callback';
}
} }
Loading…
Cancel
Save