-
-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathconfig.php
More file actions
20 lines (15 loc) · 761 Bytes
/
Copy pathconfig.php
File metadata and controls
20 lines (15 loc) · 761 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
class Config {
/* global cache settings */
public $cache = ''; // 'memcache', 'apc' or 'file' - leave blank to disable caching
public $cache_time = 86400; // in seconds e.g. 86400 = 24h
/* memcache settings - only required if cache set to memcache */
public $cache_server = 'localhost';
public $cache_port = 11211;
public $cache_persistent = true;
/* filecache settings - only required if cache set to file */
public $cache_directory = './cache/'; // needs trailing slash!
/* default output settings - ignored if url parameter has been passed */
public $format = 'json'; // 'json', 'jsonp' or 'xml'
public $callback = 'processShares'; // default jsonp callback function name
}