Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
90ce9b19
Commit
90ce9b19
authored
Oct 11, 2016
by
Vincent Petry
Committed by
GitHub
Oct 11, 2016
Browse files
Merge pull request #26316 from RealRancor/fail_on_windows
Fail earlier on Windows.
parents
abe13a44
8671741d
Changes
1
Hide whitespace changes
Inline
Side-by-side
index.php
View file @
90ce9b19
...
...
@@ -32,6 +32,13 @@ if (version_compare(PHP_VERSION, '5.6.0') === -1) {
return
;
}
// running oC on Windows is unsupported since 8.1, this has to happen here because
// is seems that the autoloader on Windows fails later and just throws an exception.
if
(
strtoupper
(
substr
(
PHP_OS
,
0
,
3
))
===
'WIN'
)
{
echo
'ownCloud Server does not support Microsoft Windows.'
;
return
;
}
try
{
require_once
__DIR__
.
'/lib/base.php'
;
...
...
Write
Preview
Markdown
is supported
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