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
lolo888
ISPConfig 3
Commits
ff765b86
Commit
ff765b86
authored
Sep 12, 2011
by
tbrehm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: FS#1690 - Awstats shows only the last month.
parent
499037a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
server/cron_daily.php
server/cron_daily.php
+8
-8
No files found.
server/cron_daily.php
View file @
ff765b86
...
...
@@ -200,15 +200,15 @@ HostAliases="www.'.$domain.' localhost 127.0.0.1"'.$aliasdomain;
if
(
is_link
(
'/var/log/ispconfig/httpd/'
.
$domain
.
'/yesterday-access.log'
))
unlink
(
'/var/log/ispconfig/httpd/'
.
$domain
.
'/yesterday-access.log'
);
symlink
(
$logfile
,
'/var/log/ispconfig/httpd/'
.
$domain
.
'/yesterday-access.log'
);
$awmonth
=
date
(
"m"
);
if
(
date
(
"d"
)
==
1
)
{
$awmonth
=
date
(
"m"
)
-
1
;
}
$awmonth
=
date
(
"n"
);
$awyear
=
date
(
"Y"
);
if
(
date
(
"m"
)
==
1
)
{
$awyear
=
date
(
"Y"
)
-
1
;
$awmonth
=
"12"
;
if
(
date
(
"d"
)
==
1
)
{
$awmonth
=
date
(
"m"
)
-
1
;
if
(
date
(
"m"
)
==
1
)
{
$awyear
=
date
(
"Y"
)
-
1
;
$awmonth
=
"12"
;
}
}
// awstats_buildstaticpages.pl -update -config=mydomain.com -lang=en -dir=/var/www/domain.com/web/stats -awstatsprog=/path/to/awstats.pl
...
...
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