-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.sample.php
76 lines (63 loc) · 2.42 KB
/
configuration.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
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
66
67
68
69
70
71
72
73
74
75
76
<?php
/*
* system/configuration.php
* Legiscope crawler
*/
define('SITE_URL' , 'http://ra1017x.avahilario.net');
define('CACHE_PATH', './cache');
if (!defined('SYSTEM_BASE')) define('SYSTEM_BASE', './system');
define('LEGISCOPE_BASE','contents');
define('LEGISCOPE_JOURNAL_PDF_AUTOFETCH',TRUE);
// Congressional Session constants
define('LEGISCOPE_DEFAULT_CONGRESS',16);
// Settings for CurlUtility
define('LEGISCOPE_USER_AGENT', $_SERVER['HTTP_USER_AGENT']);
define('LEGISCOPE_CURLOPT_CONNECTTIMEOUT', 60);
define('LEGISCOPE_CURLOPT_TIMEOUT', 120);
define('LEGISCOPE_CURLOPT_PROXY', '127.0.0.1');
define('LEGISCOPE_CURLOPT_PROXYPORT', 9050);
define('LEGISCOPE_CURLOPT_PROXYTYPE', CURLPROXY_SOCKS5);
// Debug logging
define('DEBUG_ONLY_ADMIN',FALSE);
define('DEBUG_ONLY_ENDUSER',TRUE);
define('DEBUGLOG_FILENAME', TRUE);
define('DEBUG_HANDLER_NAMES', TRUE);
define('DEBUG_DatabaseUtility', FALSE);
define('DEBUG_LegiscopeBase', FALSE);
define('DEBUG_CongressGovPh', FALSE);
define('DEBUG_RawparseUtility', FALSE);
define('DEBUG_MysqlDatabasePlugin', FALSE);
define('DEBUG_UrlModel', FALSE);
define('DEBUG_ALL', FALSE);
//define('SLOW_DOWN_RECURSIVE_DUMP',FALSE);
define('SLOW_DOWN_RECURSIVE_DUMP',20000);
define('DISABLE_AUTOMATIC_URL_EDGES',TRUE);
define('SELENIUM_WEBDRIVER', 'http://127.0.0.8:4444/wd/hub');
// URL handling
// define('RETAIN_TRAILING_PATH_SLASH',FALSE);
// Debug flags
define('ENABLE_STRUCTURE_DUMP' , FALSE);
define('DEBUG_STACKTRACE_ON_SQL_ERROR', TRUE);
define('LOG_DOCUMENT_UPDATE_DELTAS' , TRUE);
// Session handling
define('LEGISCOPE_SESSION_NAME', 'LEGISCOPE');
// Flow control
define('DISPLAY_ORIGINAL', TRUE);
define('LEGISCOPE_SENATE_DOC_SN_UBOUND', 10700);
define('SUPPRESS_MALFORMED_DOC_INVALIDATION', TRUE);
// Caching
define('CONTENT_SIZE_THRESHOLD', 65535);
define('ENABLE_GENERATED_CONTENT_BUFFERING', FALSE);
define('ENABLE_NEW_FETCHED_CONTENT_CACHING', TRUE);
define('DISPLAY_EXISTING_REPUBLIC_ACTS', TRUE);
define('DELETE_UNREACHABLE_URLS',FALSE);
// Database configuration
define('DBTYPE', 'Mysql');
define('DBHOST', '127.0.0.1');
define('DBUSER', 'root');
define('DBPASS', '');
define('DBNAME', '');
// Model handling
define('DISABLE_CLASS_AUTOGENERATE',FALSE);
define('LS_SYNCHRONIZE_MODEL_STRUCTURE', TRUE); // Set to FALSE to prevent synchronizing on-disk structure with Model object structure
define('CORE_AUTOGENERATE_CLASSDEFS', TRUE); // Set FALSE to prevent generating missing classes. See app/core.php