Version 4.7.8

This commit is contained in:
Neo committed 2025-12-19 16:10:42 -08:00
1 parent 7b7404e741
commit fd22d99e69
688 files changed
+19814 -10890

No files matched your search

+2 -3
View File
@@ -58,12 +58,11 @@ class _activeUsers extends \IPS\Widget\StaticCache
$member = \IPS\Member::loggedIn() ?: new \IPS\Member;
/* Build WHERE clause */
$parts = parse_url( (string) \IPS\Request::i()->url()->setPage() );
/* We can't run the URL related logic if we have no dispatcher because this class could also be initialized by the CLI cron job */
if( \IPS\Dispatcher::hasInstance() )
{
$parts = parse_url( (string) \IPS\Request::i()->url()->setPage() );
if ( \IPS\Settings::i()->htaccess_mod_rewrite )
{
$this->url = $parts['scheme'] . "://" . $parts['host'] . ( isset( $parts['port'] ) ? ':' . $parts['port'] : '' ) . $parts['path'];