Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
1390c414
Commit
1390c414
authored
Nov 02, 2016
by
Vincent Petry
Committed by
GitHub
Nov 02, 2016
Browse files
Merge pull request #26512 from IljaN/master
Fixing white screen of death on non existing apps dir path (#25945)
parents
fc5dbbbd
371dd45d
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/base.php
View file @
1390c414
...
...
@@ -514,7 +514,9 @@ class OC {
self
::
initPaths
();
}
catch
(
\
RuntimeException
$e
)
{
if
(
!
self
::
$CLI
)
{
OC_Response
::
setStatus
(
OC_Response
::
STATUS_SERVICE_UNAVAILABLE
);
// can`t use OC_Response::setStatus because server is not
// initialized here
http_response_code
(
OC_Response
::
STATUS_SERVICE_UNAVAILABLE
);
}
// we can't use the template error page here, because this needs the
// DI container which isn't available yet
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment