/
config.sample.php
32 lines (26 loc) · 1.11 KB
/
config.sample.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
<?php
// Sample config file
//
// Do not modify config.sample.php. Instead, copy to config.php and modify config.php.
// If config.php exists, settings are read from config.php, not config.sample.php.
/* The test page */
// set to false to disable the test page:
define( 'ENABLE_TEST', true );
/* Experiment defaults */
$defaults = array(
'status' => 'active', // default state for experiments
'title' => 'Survey',
'thanks' => 'Thank you!',
);
// SETTINGS BELOW ARE ADVANCED SETTINGS! THEY PROBABLY DON'T NEED TO BE CHANGED.
/* Advanced settings */
define( 'DEBUG', false ); // set to true for debug mode
define( 'EXPERIMENTS_META_FILE', 'experiments_meta.ini' ); // file name for experiment metadata
/* Environment settings */
define( 'APPURL', dirname($_SERVER['SCRIPT_NAME']) ); // with trailing slash
define( 'APPPATH', dirname($_SERVER['SCRIPT_NAME']) ); // with trailing slash
/* Cookie settings */
define( 'COOKIE_NAME', 'turkserver' );
define( 'COOKIE_EXPIRE', time() + 60*60*24*365 ); // default: 1 year cookie
define( 'COOKIE_PATH', dirname($_SERVER['SCRIPT_NAME']) );
define( 'COOKIE_DOMAIN', $_SERVER['SERVER_NAME'] );