Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
ISPConfig 3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kevin
ISPConfig 3
Commits
e349000b
Commit
e349000b
authored
Mar 08, 2011
by
tbrehm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed: FS#1543 - Set different logformat for awstats
parent
e44b8d0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
install/lib/installer_base.lib.php
install/lib/installer_base.lib.php
+2
-1
No files found.
install/lib/installer_base.lib.php
View file @
e349000b
...
...
@@ -1034,7 +1034,8 @@ class installer_base {
// Check the awsatst script
if
(
!
is_dir
(
'/usr/share/awstats/tools'
))
exec
(
'mkdir -p /usr/share/awstats/tools'
);
if
(
!
file_exists
(
'/usr/share/awstats/tools/awstats_buildstaticpages.pl'
)
&&
file_exists
(
'/usr/share/doc/awstats/examples/awstats_buildstaticpages.pl'
))
symlink
(
'/usr/share/doc/awstats/examples/awstats_buildstaticpages.pl'
,
'/usr/share/awstats/tools/awstats_buildstaticpages.pl'
);
if
(
file_exists
(
'/etc/awstats/awstats.conf.local'
))
replaceLine
(
'/etc/awstats/awstats.conf.local'
,
'LogFormat=4'
,
'LogFormat=1'
,
0
,
1
);
//* add a sshusers group
$command
=
'groupadd sshusers'
;
if
(
!
is_group
(
'sshusers'
))
caselog
(
$command
.
' &> /dev/null 2> /dev/null'
,
__FILE__
,
__LINE__
,
"EXECUTED:
$command
"
,
"Failed to execute the command
$command
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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