From 8c869f60493e05fd4f9a8d0ffd9e7c79f2de0ac0 Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Tue, 3 Aug 2021 15:31:15 +0200 Subject: [PATCH] Untrack configuration includes --- .gitignore | 2 ++ HostOption.php => HostOption.php.example | 3 ++- TwitterKey.php => TwitterKey.php.example | 0 3 files changed, 4 insertions(+), 1 deletion(-) rename HostOption.php => HostOption.php.example (65%) rename TwitterKey.php => TwitterKey.php.example (100%) 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