forked from OpendataCH/Transport
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.php.sample
More file actions
32 lines (22 loc) · 804 Bytes
/
config.php.sample
File metadata and controls
32 lines (22 loc) · 804 Bytes
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
<?php
// Debug
$app['debug'] = false;
// HTTP Cache
$app['http_cache'] = true;
// Buzz client, null uses Buzz\Client\FileGetContents
$app['buzz.client'] = null; // new Buzz\Client\Curl();
// Log level
$app['monolog.level'] = Monolog\Logger::ERROR;
// XHProf for profiling
$app['xhprof'] = false;
// Redis for statistics and rate limiting
$app['redis.config'] = false; // array('host' => 'localhost', 'port' => 6379);
// Statistics
$app['stats.config'] = array('enabled' => false);
// Rate limiting
$app['rate_limiting.config'] = array('enabled' => false, 'limit' => 150);
// if hosted behind a reverse proxy
$app['proxy'] = false;
// Address of the proxy server (e.g. 192.168.0.1:8080) to use when connecting
// to the SBB server (if any). Default is null.
$app['proxy_server.address'] = null;