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;
|
||||
|
||||
environment =
|
||||
{ PHPRC = if enablePHP then phpIni else "";
|
||||
} // (listToAttrs (concatMap (svc: svc.globalEnvVars) allSubservices));
|
||||
(listToAttrs (concatMap (svc: svc.globalEnvVars) allSubservices))
|
||||
// optionalAttrs enablePHP { PHPRC = phpIni; };
|
||||
|
||||
preStart =
|
||||
''
|
||||
|
Loading…
Reference in New Issue
Block a user