[ SYSTEM ]: Windows NT SWD-ELEARN-11 10.0 build 20348 (Windows Server 2016) AMD64
[ SERVER ]: Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.3.9 | PHP: 7.3.9
[ USER ]: Elearn | IP: 10.201.204.156
GEFORCE FILE MANAGER
/
C:
/
xampp
/
htdocs
/
Ajaji
/
modules
/
mod_random_image
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 src
SET
[ DEL ]
📁 tmpl
SET
[ DEL ]
📄 mod_random_image.php
655 B
SET
[ EDIT ]
|
[ DEL ]
📄 mod_random_image.xml
2,022 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: mod_random_image.php
<?php /** * @package Joomla.Site * @subpackage mod_random_image * * @copyright (C) 2005 Open Source Matters, Inc. <https://www.joomla.org> * @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'));