mirror of
https://github.com/nextcloud/server.git
synced 2026-02-19 02:38:40 -05:00
Try to set required ini values in base.php
Fixes https://github.com/owncloud/core/issues/16006
This commit is contained in:
parent
7a3b74a8b9
commit
8a85d8bc17
1 changed files with 7 additions and 0 deletions
|
|
@ -503,6 +503,12 @@ class OC {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Try to set some values to the required ownCloud default
|
||||
*/
|
||||
public static function setRequiredIniValues() {
|
||||
@ini_set('default_charset', 'UTF-8');
|
||||
}
|
||||
|
||||
public static function init() {
|
||||
// register autoloader
|
||||
|
|
@ -559,6 +565,7 @@ class OC {
|
|||
@ini_set('post_max_size', '10G');
|
||||
@ini_set('file_uploads', '50');
|
||||
|
||||
self::setRequiredIniValues();
|
||||
self::handleAuthHeaders();
|
||||
self::registerAutoloaderCache();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue