Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2894528
lib.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
721 B
Referenced Files
None
Subscribers
None
lib.php
View Options
<?php
function
init_phabricator_script
(
array
$options
)
{
error_reporting
(
E_ALL
|
E_STRICT
)
;
ini_set
(
'display_errors'
,
1
)
;
$include_path
=
ini_get
(
'include_path'
)
;
ini_set
(
'include_path'
,
$include_path
.
PATH_SEPARATOR
.
dirname
(
__FILE__
)
.
'/../../../'
)
;
$ok
=
@
include_once
'arcanist/support/init/init-script.php'
;
if
(
!
$ok
)
{
echo
'FATAL ERROR: Unable to load the "Arcanist" library. '
.
'Put "arcanist/" next to "phabricator/" on disk.'
;
echo
"\n"
;
exit
(
1
)
;
}
phutil_load_library
(
'arcanist/src'
)
;
phutil_load_library
(
dirname
(
__FILE__
)
.
'/../../src/'
)
;
$config_optional
=
$options
[
'config.optional'
]
;
PhabricatorEnv
::
initializeScriptEnvironment
(
$config_optional
)
;
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Jan 19, 20:01 (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1124490
Default Alt Text
lib.php (721 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment