芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/chicxulubpuebloyucatan.gob.mx/modules/mod_whosonline/mod_whosonline.php
* @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Helper\ModuleHelper; use Joomla\Module\Whosonline\Site\Helper\WhosonlineHelper; // Check if session metadata tracking is enabled if ($app->get('session_metadata', true)) { $showmode = $params->get('showmode', 0); if ($showmode == 0 || $showmode == 2) { $count = WhosonlineHelper::getOnlineCount(); } if ($showmode > 0) { $names = WhosonlineHelper::getOnlineUserNames($params); } require ModuleHelper::getLayoutPath('mod_whosonline', $params->get('layout', 'default')); } else { require ModuleHelper::getLayoutPath('mod_whosonline', 'disabled'); }