<?php /** * @version $Id: include.php 39370 2011-07-02 22:16:28Z btowles $ * @author RocketTheme http://www.rockettheme.com * @copyright Copyright (C) 2007 - 2011 RocketTheme, LLC * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only */ if (!defined('JOOMLA_ROKGALLERYMODULE_LIB')) { define('JOOMLA_ROKGALLERYMODULE_LIB', 'JOOMLA_ROKGALLERYMODULE_LIB'); $include_file = @realpath(realpath(ROKGALLERYMODULE_ROOT . '/lib/include.php')); $included_files = get_included_files(); if (!in_array($include_file, $included_files) && ($loaderrors = (require_once $include_file)) !== 'ROKGALLERYMODULE_LIB_INCLUDED') { return $loaderrors; } RokGallery_Doctrine::addModelPath(JPATH_SITE . '/components/com_rokgallery/lib'); RokCommon_Composite::addPackagePath('mod_rokgallery', JPATH_SITE . '/modules/mod_rokgallery/templates'); } return 'JOOMLA_ROKGALLERYMODULE_LIB_LOADED';