Skip to content

Commit

Permalink
fix session stats recording
Browse files Browse the repository at this point in the history
  • Loading branch information
AndiLeni committed Jun 3, 2023
1 parent b8eb8a9 commit 174812a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boot.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
$response_code = rex_response::getStatus();


if (rex_config::get("statistics", "statistics_rec_session_stats", false) == true && rex::getRequest()->getRequestUri() != "/favicon.ico") {
if (rex::getRequest()->getRequestUri() != "/favicon.ico") {

if ($response_code == rex_response::HTTP_OK || !$addon->getConfig("statistics_rec_onlyok", false)) {
// visitduration, number pages visited, last visited page
Expand Down

0 comments on commit 174812a

Please sign in to comment.