-
Notifications
You must be signed in to change notification settings - Fork 13
/
config.php.dist
42 lines (33 loc) · 1.03 KB
/
config.php.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
; <?php die(); __halt_compiler();
;
; Cliqr configuration file
; (note the first line. php opener/die included to prevent dumping settings to browser)
;
[shortener]
; COMMENT these and UNCOMMENT the second set to use Google's urlshortener
file = lib/MockShortener.php
class = \Cliqr\MockShortener
;file = lib/BasicShortener.php
;class = \Cliqr\BasicShortener
;file = lib/GoogleShortener.php
;class = \Cliqr\GoogleShortener
;file = lib/YourlsShortener.php
;class = \Cliqr\YourlsShortener
;file = lib/PolrShortener.php
;class = \Cliqr\PolrShortener
[basicshortener]
url = https://<MY-BASIC-SHORTENER-URL?name-of-the-url-key=%s
[google]
;api_url = https://www.googleapis.com/urlshortener/v1/url
; INSERT your google api key here, see:
; https://developers.google.com/url-shortener/v1/getting_started#APIKey
;api_key = <MY-GOOGLE-KEY>
[yourls]
endpoint = https://<yourls-domain>/yourls-api.php
;use either username and password or provide an api key
username =
password =
api_key =
[polr]
api_url = https://<polr-domain>/api/v2
api_key = <MY-POLR-KEY>