Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2890629
index.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
1 KB
Referenced Files
None
Subscribers
None
index.php
View Options
<?php
$phabricator_root
=
dirname
(
dirname
(
__FILE__
)
)
;
require_once
$phabricator_root
.
'/support/PhabricatorStartup.php'
;
// If the preamble script exists, load it.
$preamble_path
=
$phabricator_root
.
'/support/preamble.php'
;
if
(
file_exists
(
$preamble_path
)
)
{
require_once
$preamble_path
;
}
PhabricatorStartup
::
didStartup
(
)
;
try
{
PhabricatorStartup
::
loadCoreLibraries
(
)
;
$sink
=
new
AphrontPHPHTTPSink
(
)
;
try
{
AphrontApplicationConfiguration
::
runHTTPRequest
(
$sink
)
;
}
catch
(
Exception
$ex
)
{
try
{
$response
=
new
AphrontUnhandledExceptionResponse
(
)
;
$response
->
setException
(
$ex
)
;
PhabricatorStartup
::
endOutputCapture
(
)
;
$sink
->
writeResponse
(
$response
)
;
}
catch
(
Exception
$response_exception
)
{
// If we hit a rendering exception, ignore it and throw the original
// exception. It is generally more interesting and more likely to be
// the root cause.
throw
$ex
;
}
}
}
catch
(
Exception
$ex
)
{
PhabricatorStartup
::
didEncounterFatalException
(
'Core Exception'
,
$ex
,
false
)
;
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Jan 19, 13:53 (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1110035
Default Alt Text
index.php (1 KB)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment