store httpduser variable in /etc/koha.conf
This commit is contained in:
parent
f38f71eab9
commit
cd7c23b7ff
|
|
@ -279,6 +279,7 @@ includes=$kohadir/htdocs/includes
|
|||
intranetdir=$kohadir
|
||||
opacdir=$opacdir
|
||||
kohaversion=$kohaversion
|
||||
httpduser=$httpduser
|
||||
EOP
|
||||
;
|
||||
close(SITES);
|
||||
|
|
|
|||
|
|
@ -324,6 +324,9 @@ while (<KC>) {
|
|||
if (/^\s*includes\s*=/) {
|
||||
$kccontents.="includes=$intranetdir/htdocs/includes\n";
|
||||
$kc->{'includes'}=1;
|
||||
} elsif (/^\s*httpduser\s*=/) {
|
||||
$kccontents.="httpduser=$httpduser\n";
|
||||
$kc->{'httpduser'}=1;
|
||||
} elsif (/^\s*kohaversion\s*=/) {
|
||||
$kccontents.="kohaversion=$newversion\n";
|
||||
$kc->{'kohaversion'}=1;
|
||||
|
|
@ -344,6 +347,9 @@ unless (defined($kc->{'kohaversion'})) {
|
|||
unless (defined($kc->{'includes'})) {
|
||||
$kccontents.="includes=$intranetdir/htdocs/includes\n";
|
||||
}
|
||||
unless (defined($kc->{'httpduser'})) {
|
||||
$kccontents.="httpduser=$httpduser\n";
|
||||
}
|
||||
unless (defined($kc->{'intranetdir'})) {
|
||||
$kccontents.="intranetdir=$intranetdir\n";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue