Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
our_own_cloud_project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
die_coolen_jungs
our_own_cloud_project
Commits
0abce86b
Commit
0abce86b
authored
Feb 26, 2015
by
Lukas Reschke
Browse files
Options
Downloads
Patches
Plain Diff
Disallow Windows Server in Server Check
Will prevent users from use ownCloud on Windows Server
parent
1d9bd3d3
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/private/util.php
+13
-0
13 additions, 0 deletions
lib/private/util.php
with
13 additions
and
0 deletions
lib/private/util.php
+
13
−
0
View file @
0abce86b
...
...
@@ -566,6 +566,19 @@ class OC_Util {
$webServerRestart
=
true
;
}
// Check if server running on Windows platform
if
(
OC_Util
::
runningOnWindows
())
{
$errors
[]
=
[
'error'
=>
$l
->
t
(
'Microsoft Windows Platform is not supported'
),
'hint'
=>
$l
->
t
(
'Running ownCloud Server on the Microsoft Windows platform is not supported. We suggest you '
.
'use a Linux server in a virtual machine if you have no option for migrating the server itself. '
.
'Find Linux packages as well as easy to deploy virtual machine images on <a href="%s">%s</a>. '
.
'For migrating existing installations to Linux you can find some tips and a migration script '
.
'in <a href="%s">our documentation</a>.'
,
[
'https://owncloud.org/install/'
,
'owncloud.org/install/'
,
'https://owncloud.org/?p=8045'
])
];
}
// Check if config folder is writable.
if
(
!
is_writable
(
OC
::
$configDir
)
or
!
is_readable
(
OC
::
$configDir
))
{
$errors
[]
=
array
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment