CoreFiles by mySites.guru
mod_custom.php21 lines, 700 bytes, from Joomla_3.2.4-Stable-Full_Package.zip
Raw History Compare with 3.2.3
md5
6f0b9aa730d72b16a7ce950075278b24
sha1
3192bbdaf4b63820b80eb73c211813dac7624629
sha256
72259d05a0d195561c27b81094c462aaefefb51691bf4ed7d03190e3676e6187
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  mod_custom
 *
 * @copyright   Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

if ($params->def('prepare_content', 1))
{
	JPluginHelper::importPlugin('content');
	$module->content = JHtml::_('content.prepare', $module->content, '', 'mod_custom.content');
}

// Replace 'images/' to '../images/' when using an image from /images in backend.
$module->content = preg_replace('*src\=\"(?!administrator\/)images/*', 'src="../images/', $module->content);

require JModuleHelper::getLayoutPath('mod_custom');

The same content is in 11 releases, Joomla 3.2.4 to 3.3.6. See them all, or every version of this file.