httpd: Only add PHPRC to environment of httpd when enablePHP is true.
This commit is contained in:
parent
34b0e59c0a
commit
bfa56d7657
|
@ -628,8 +628,8 @@ in
|
||||||
++ concatMap (svc: svc.extraServerPath) allSubservices;
|
++ concatMap (svc: svc.extraServerPath) allSubservices;
|
||||||
|
|
||||||
environment =
|
environment =
|
||||||
{ PHPRC = if enablePHP then phpIni else "";
|
(listToAttrs (concatMap (svc: svc.globalEnvVars) allSubservices))
|
||||||
} // (listToAttrs (concatMap (svc: svc.globalEnvVars) allSubservices));
|
// optionalAttrs enablePHP { PHPRC = phpIni; };
|
||||||
|
|
||||||
preStart =
|
preStart =
|
||||||
''
|
''
|
||||||
|
|
Loading…
Reference in a new issue