|
@@ 668-674 (lines=7) @@
|
| 665 |
|
} |
| 666 |
|
|
| 667 |
|
// Check if server running on Windows platform |
| 668 |
|
if(OC_Util::runningOnWindows()) { |
| 669 |
|
$errors[] = [ |
| 670 |
|
'error' => $l->t('Microsoft Windows Platform is not supported'), |
| 671 |
|
'hint' => $l->t('Running Nextcloud Server on the Microsoft Windows platform is not supported. We suggest you ' . |
| 672 |
|
'use a Linux server in a virtual machine if you have no option for migrating the server itself.') |
| 673 |
|
]; |
| 674 |
|
} |
| 675 |
|
|
| 676 |
|
// Check if config folder is writable. |
| 677 |
|
if(!OC_Helper::isReadOnlyConfigEnabled()) { |
|
@@ 731-738 (lines=8) @@
|
| 728 |
|
} |
| 729 |
|
} |
| 730 |
|
|
| 731 |
|
if (!OC_Util::isSetLocaleWorking()) { |
| 732 |
|
$errors[] = array( |
| 733 |
|
'error' => $l->t('Setting locale to %s failed', |
| 734 |
|
array('en_US.UTF-8/fr_FR.UTF-8/es_ES.UTF-8/de_DE.UTF-8/ru_RU.UTF-8/' |
| 735 |
|
. 'pt_BR.UTF-8/it_IT.UTF-8/ja_JP.UTF-8/zh_CN.UTF-8')), |
| 736 |
|
'hint' => $l->t('Please install one of these locales on your system and restart your webserver.') |
| 737 |
|
); |
| 738 |
|
} |
| 739 |
|
|
| 740 |
|
// Contains the dependencies that should be checked against |
| 741 |
|
// classes = class_exists |