FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
statedecoded/phpstan-bootstrap.php at master · statedecoded/statedecoded · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
statedecoded
/
statedecoded
Public
Notifications
You must be signed in to change notification settings
Fork
56
Star
269
Code
Issues
72
Pull requests
1
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
statedecoded
/
phpstan-bootstrap.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
49 lines (46 loc) · 2.12 KB
Breadcrumbs
statedecoded
/
phpstan-bootstrap.php
Copy path
File metadata and controls
49 lines (46 loc) · 2.12 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
<?php
/**
* PHPStan bootstrap — defines constants and stubs that the app normally
* gets from config.inc.php and the web server environment.
*/
define
(
'
INCLUDE_PATH
'
,
__DIR__
.
'
/includes/
'
);
define
(
'
SITE_TITLE
'
,
'
State Decoded
'
);
define
(
'
SITE_URL
'
,
'
http://localhost/
'
);
define
(
'
PLACE_NAME
'
,
'
Virginia
'
);
define
(
'
LAWS_NAME
'
,
'
Code of Virginia
'
);
define
(
'
SECTION_SYMBOL
'
,
'
§
'
);
define
(
'
WEB_ROOT
'
,
__DIR__
.
'
/htdocs/
'
);
define
(
'
IMPORT_DATA_DIR
'
,
__DIR__
.
'
/import/
'
);
define
(
'
IMPORT_MEMORY_LIMIT
'
,
'
512M
'
);
define
(
'
CUSTOM_FUNCTIONS
'
,
__DIR__
.
'
/includes/functions.inc.php
'
);
define
(
'
THEMES_DIR
'
,
__DIR__
.
'
/htdocs/themes/
'
);
define
(
'
THEME_NAME
'
,
'
StateDecoded2013
'
);
define
(
'
THEME_DIR
'
,
__DIR__
.
'
/htdocs/themes/StateDecoded2013/
'
);
define
(
'
THEME_WEB_PATH
'
,
'
/themes/StateDecoded2013/
'
);
define
(
'
CURRENT_API_VERSION
'
,
'
1.0
'
);
define
(
'
INCLUDES_REPEALED
'
,
FALSE
);
define
(
'
LAW_LONG_URLS
'
,
FALSE
);
define
(
'
PDO_DSN
'
,
'
mysql:host=localhost;dbname=statedecoded
'
);
define
(
'
PDO_USERNAME
'
,
'
statedecoded
'
);
define
(
'
PDO_PASSWORD
'
,
'
statedecoded
'
);
define
(
'
ADMIN_USERNAME
'
,
'
admin
'
);
define
(
'
ADMIN_PASSWORD
'
,
'
password
'
);
define
(
'
SECTION_REGEX
'
,
'
\d+(\.\d+)*-\d+(\.\d+)*
'
);
define
(
'
EMAIL_ADDRESS
'
,
'
admin@example.com
'
);
define
(
'
EMAIL_NAME
'
,
'
State Decoded
'
);
define
(
'
RECORD_VIEWS
'
,
TRUE
);
define
(
'
USE_GENERIC_TERMS
'
,
FALSE
);
define
(
'
SEARCH_CONFIG
'
,
json_encode
([
'
engine
'
=>
'
SqlSearchEngine
'
]));
define
(
'
API_KEY
'
,
'
test-api-key
'
);
define
(
'
VERSION
'
,
'
1.0
'
);
define
(
'
PLUGINS
'
,
json_encode
([]));
define
(
'
DEBUG_LEVEL
'
,
5
);
// STRUCTURE is a comma-separated list of structural levels defined per deployment in config.inc.php
define
(
'
STRUCTURE
'
,
'
title,chapter,article,section
'
);
define
(
'
GLOBAL_DEFINITIONS
'
,
FALSE
);
// Web server stubs
$
_SERVER
[
'
SERVER_NAME
'
] =
'
localhost
'
;
$
_SERVER
[
'
SERVER_PORT
'
] =
'
80
'
;
$
_SERVER
[
'
REQUEST_URI
'
] =
'
/
'
;
$
_SERVER
[
'
REDIRECT_URL
'
] =
'
/
'
;
$
_SERVER
[
'
HTTPS
'
] =
''
;
Back
|
FazBrowse Home
|
New Git URL