-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.example.php
65 lines (60 loc) · 2.14 KB
/
config.example.php
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?php
/**
* Example configuration file for the BeansBooks API system.
*
* Just contains the hostname and auth credentials necessary for the system.
*
* If your framework or application already has a configuration setting or system,
* it is highly recommended to simply copy these into that system!
*
* If you choose to use the boilerplate application, <b>DO NOT EDIT THIS FILE DIRECTLY</b>!
* Copy this file to "config.php" and edit that instead.
*
* @author Charlie Powell <[email protected]>
* @date 20141104.1305
* @copyright Copyright (C) 2009-2014 Charlie Powell
* @license GNU Affero General Public License v3 <http://www.gnu.org/licenses/agpl-3.0.txt>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see http://www.gnu.org/licenses/agpl-3.0.txt.
*/
/**
* Auth UID from your beans installation (Setup -> Users -> API Access)
*
* This should be a number
*/
define('BEANSBOOKS_AUTH_UID', 0);
/**
* Expiration from your beans installation (Setup -> Users -> API Access)
*
* This is a number, though I'm not exactly sure what it does...
*/
define('BEANSBOOKS_AUTH_EXPIRATION', 0);
/**
* Key from your beans installation (Setup -> Users -> API Access)
*
* This should be a very very very long string.
*/
define('BEANSBOOKS_AUTH_KEY', '');
/**
* URL of your beans installation, with the http:// or https:// prefix, excluding any trailing slash
*
* This should be a string of how you access the site in a browser.
*
* <h4>Examples</h4>
* <ul>
* <li>http://domain.tld/books</li>
* <li>https://books.domain.tld</li>
* <li>http://10.2.3.4</li>
* </ul>
*/
define('BEANSBOOKS_HOST', 'https://beansbooks.yourprovider.tld');