?
Path : /home/admin/public_html/old/administrator/modules/mod_cachecleaner/ |
Current File : /home/admin/public_html/old/administrator/modules/mod_cachecleaner/mod_cachecleaner.php |
<?php /** * Main Module File * Does all the magic! * * @package Cache Cleaner * @version 1.11.3 * * @author Peter van Westen <peter@nonumber.nl> * @link http://www.nonumber.nl * @copyright Copyright © 2011 NoNumber! All Rights Reserved * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL */ // No direct access defined( '_JEXEC' ) or die(); /** * Module that cleans cache */ // return if NoNumber! Framework plugin is not installed jimport( 'joomla.filesystem.file' ); if ( !JFile::exists( JPATH_PLUGINS.'/system/nnframework/nnframework.php' ) ) { return; } // return if NoNumber! Framework plugin is not enabled $nnep = JPluginHelper::getPlugin( 'system', 'nnframework' ); if ( !isset( $nnep->name ) ) { return; } // Include the syndicate functions only once require_once dirname( __FILE__ ).'/cachecleaner/helper.php'; require JModuleHelper::getLayoutPath( 'mod_cachecleaner/cachecleaner' );