Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
Dirk Dankhoff
ISPConfig 3
Commits
7da53333
Commit
7da53333
authored
Oct 01, 2009
by
tbrehm
Browse files
Fixed: FS#908 - Webalizer configuration in ispconfig install not work correctly
parent
f051c0b8
Changes
2
Hide whitespace changes
Inline
Side-by-side
install/dist/lib/fedora.lib.php
View file @
7da53333
...
...
@@ -453,9 +453,9 @@ class installer_dist extends installer_base {
if
(
is_file
(
'/etc/webalizer/webalizer.conf'
))
{
// Change webalizer mode to incremental
replaceLine
(
'/etc/webalizer/webalizer.conf'
,
'Incremental
no
'
,
'Incremental
yes
'
,
0
,
0
);
replaceLine
(
'/etc/webalizer/webalizer.conf'
,
'Incremental
Name webalizer.current'
,
'IncrementalName webalizer.current
'
,
0
,
0
);
replaceLine
(
'/etc/webalizer/webalizer.conf'
,
'HistoryName
webalizer.hist
'
,
'HistoryName webalizer.hist'
,
0
,
0
);
replaceLine
(
'/etc/webalizer/webalizer.conf'
,
'
#
Incremental
Name
'
,
'Incremental
Name webalizer.current
'
,
0
,
0
);
replaceLine
(
'/etc/webalizer/webalizer.conf'
,
'
#
Incremental
'
,
'Incremental yes
'
,
0
,
0
);
replaceLine
(
'/etc/webalizer/webalizer.conf'
,
'
#
HistoryName'
,
'HistoryName webalizer.hist'
,
0
,
0
);
}
//* add a sshusers group
...
...
install/dist/lib/opensuse.lib.php
View file @
7da53333
...
...
@@ -473,9 +473,9 @@ class installer_dist extends installer_base {
if
(
is_file
(
'/etc/webalizer/webalizer.conf'
))
{
// Change webalizer mode to incremental
replaceLine
(
'/etc/webalizer/webalizer.conf'
,
'Incremental
no
'
,
'Incremental
yes
'
,
0
,
0
);
replaceLine
(
'/etc/webalizer/webalizer.conf'
,
'Incremental
Name webalizer.current'
,
'IncrementalName webalizer.current
'
,
0
,
0
);
replaceLine
(
'/etc/webalizer/webalizer.conf'
,
'HistoryName
webalizer.hist
'
,
'HistoryName webalizer.hist'
,
0
,
0
);
replaceLine
(
'/etc/webalizer/webalizer.conf'
,
'
#
Incremental
Name
'
,
'Incremental
Name webalizer.current
'
,
0
,
0
);
replaceLine
(
'/etc/webalizer/webalizer.conf'
,
'
#
Incremental
'
,
'Incremental yes
'
,
0
,
0
);
replaceLine
(
'/etc/webalizer/webalizer.conf'
,
'
#
HistoryName'
,
'HistoryName webalizer.hist'
,
0
,
0
);
}
//* add a sshusers group
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment