Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F34329141
__init_script__.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
670 B
Subscribers
None
__init_script__.php
View Options
<?php
function
init_phabricator_script
()
{
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__
).
'/../../'
);
@
include_once
'libphutil/scripts/__init_script__.php'
;
if
(!@
constant
(
'__LIBPHUTIL__'
))
{
echo
"ERROR: Unable to load libphutil. Update your PHP 'include_path' to "
.
"include the parent directory of libphutil/.
\n
"
;
exit
(
1
);
}
phutil_load_library
(
'arcanist/src'
);
phutil_load_library
(
dirname
(
__FILE__
).
'/../src/'
);
PhabricatorEnv
::
initializeScriptEnvironment
();
}
init_phabricator_script
();
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Dec 30, 5:50 PM (6 h, 47 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
f7/3e/9803e9fecaf11aea3c39d0c03c06
Attached To
rPHAB Phabricator
Event Timeline
Log In to Comment