Warning: Undefined array key "HTTPS" in include() (line 29 of /opt/www/fdv2/drupal.stage/web/sites/default/settings.local.php).
include('/opt/www/fdv2/drupal.stage/web/sites/default/settings.local.php') (Line: 4)
require('/opt/www/fdv2/drupal.stage/web/sites/drupal001.net/settings.php') (Line: 145)
Drupal\Core\Site\Settings::initialize('/opt/www/fdv2/drupal.stage/web', 'sites/drupal001.net', Object) (Line: 1099)
Drupal\Core\DrupalKernel->initializeSettings(Object) (Line: 701)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
私有文件系统路径未设置 ,此设置必须在 settings.php 中更改。 请问如何修改 - Drupal大学 - Drupal问答论坛
首页 / 帖子
私有文件系统路径未设置 ,此设置必须在 settings.php 中更改。 请问如何修改
1个答案
Amanda Song
发布于:2017-02-12 11:14

Drupal里面的设置,大多都是直接设置variable变量就可以。私有文件系统的变量如下:

$conf['file_public_path'] = 'sites/yoursite.com/files';
$conf['file_private_path'] = '/var/_private-web-files/yoursite.com';