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

13
HostOption.php.example Normal file
View file

@ -0,0 +1,13 @@
<?php
class HostOption {
private static $values = array(
'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;
}
}
?>