@Fecmall #8楼 我看了一下,这个`
$fecmall_common_main_local_config`
是在`
\fecmall\appfront\web\index.php`
里面赋值的,注释掉相关代码以后不再报错,但是我不知道为什么install.php会引用到index.php,可能跟nginx的配置有关?我用的是你们文档里给的配置:
server {
listen 80;
server_name fec.app;
root G:/WWW/fecmall/appfront/web/;
location / {
index index.php index.html index.htm;
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}