芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/modules.9/mod_random_image/mod_random_image.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\RandomImage\Site\Helper\RandomImageHelper; $link = $params->get('link'); $folder = RandomImageHelper::getFolder($params); $images = RandomImageHelper::getImages($params, $folder); $image = RandomImageHelper::getRandomImage($params, $images); require ModuleHelper::getLayoutPath('mod_random_image', $params->get('layout', 'default'));