diff --git a/.gitignore b/.gitignore index 5686403..985f2aa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ +/HostOption.php +/TwitterKey.php /db.json /timestamp.dat diff --git a/HostOption.php b/HostOption.php.example similarity index 65% rename from HostOption.php rename to HostOption.php.example index 8f910f6..cf4a121 100644 --- a/HostOption.php +++ b/HostOption.php.example @@ -2,7 +2,8 @@ class HostOption { private static $values = array( - 'api.github.com' => array('Authorization: token TOKEN') + 'api.github.com' => array('Authorization: token xxx'), + 'gitlab.com' => array('PRIVATE-TOKEN: xxx') ); public static function get(string $key) { return array_key_exists($key, self::$values) ? self::$values[$key] : false; diff --git a/TwitterKey.php b/TwitterKey.php.example similarity index 100% rename from TwitterKey.php rename to TwitterKey.php.example