CoreFiles by mySites.guru
mod_stats_admin.php22 lines, 843 bytes, from Joomla_4.0.0-alpha5-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha3
md5
5345ef30e3474c3a99dc9e816cd9e1de
sha1
e5ac1c3bf9d4349c176ea5ece4e5cd1d72664a1a
sha256
8512ebadcb78c987a1017b46119730e1612c7c4eb824b4aab1ac12a44125442c
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  mod_stats_admin
 *
 * @copyright   Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\Helper\ModuleHelper;
use Joomla\Database\DatabaseInterface;
use Joomla\Module\StatsAdmin\Administrator\Helper\StatsAdminHelper;

$serverinfo      = $params->get('serverinfo');
$siteinfo        = $params->get('siteinfo');
$list            = StatsAdminHelper::getStats($params, $app, Factory::getContainer()->get(DatabaseInterface::class));
$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'), ENT_COMPAT, 'UTF-8');

require ModuleHelper::getLayoutPath('mod_stats_admin', $params->get('layout', 'default'));

The same content is in 2 releases, Joomla 4.0.0-alpha5 to 4.0.0-alpha6. See them all, or every version of this file.