35 lines
1.0 KiB
PHP
35 lines
1.0 KiB
PHP
<?php
|
|
|
|
// a Google Analytics account -- if specified, we will log activity
|
|
define('GA_ACCOUNT', false); // 'UA-XXXXXXX-X');
|
|
|
|
// should we allow users to connect on any port? If false, only allow port 70. If true,
|
|
// we allow port 70, AND any port greater than 1024, since anything below that is reserved.
|
|
define('ALLOW_ALL_PORTS', true);
|
|
|
|
// an optional regex to restrict hosts too -- if a host doesn't match this, we won't process the request
|
|
// define('RESTRICT_TO_MATCH', "/myhost.com/");
|
|
|
|
// lifetime of requests in the cache
|
|
define('CACHE_LIFETIME', 3600);
|
|
define('CACHE_PATH', "/tmp/gophper");
|
|
|
|
define('APP_NAME', '~team gopher');
|
|
|
|
// default request to serve up on the index page
|
|
define('START_REQUEST', 'tilde.team/');
|
|
define('START_INPUT', '');
|
|
|
|
// maximum filesize allowed when browsing/downloading files, etc
|
|
define('MAX_FILESIZE', 10000000);
|
|
|
|
// should we log stats to the db?
|
|
define('LOG_STATS', false);
|
|
|
|
// if LOG_STATS is true, this specifies the connection to the database
|
|
DB::$user = '';
|
|
DB::$password = '';
|
|
DB::$dbName = 'gopher';
|
|
|
|
?>
|