Untrack configuration includes

This commit is contained in:
Steffen Lange 2021-08-03 15:31:15 +02:00
parent 7bd8f9c7c3
commit 8c869f6049
3 changed files with 4 additions and 1 deletions

2
.gitignore vendored
View file

@ -1,2 +1,4 @@
/HostOption.php
/TwitterKey.php
/db.json
/timestamp.dat

View file

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