2
回答
limesurvey config.php设置求救...
百度AI开发者大赛带你边学边开发,赢100万奖金,加群:418589053   
前两天把limesurvey的全局设置里面的HTTPS打开了.刷新后出现禁止访问 HTTP 错误403.没有访问权限. 后来查找原因是HTTPS是加密的安全文本.现在因为进不了limesurvey的全局设置.就只有从.PHP文件里面改了.昨天发了求助帖子在Limesurvey官网的论坛.今天收到回复,但我看不懂,不知道该如何添加代码进config.php

下面是论坛的回复.我想知道的是下面这段话的含义以及我要加哪些代码进config.php以及加在哪个位置...谢谢各位大神了..

Have a look at this setting which should help you out by adding it to your config.php:
/**
* @var $ssl_emergency_override boolean forces SSL off
* if You've turned HTTPS/SSL on in the global settings but your
* server doesn't have HTTPS enabled, the only way to turn it off is
* by changing a value in the database directly. This allows you to
* force HTTPS off while you change the global settings for Force Secure.
*
* false = do nothing;
* true = override $force_ssl=on;
*
* This should always be false except in emergencies where you change
* it to true until you fix the problem.
*/
$ssl_emergency_override = false;


举报
lyugs
发帖于7年前 2回/1K+阅
顶部