?
avatar ghazal
ghazal
9 Feb 2015

Is this a trailing line ?

use Joomla\Registry\Registry;

in layouts/joomla/content/tags.php

defined('JPATH_BASE') or die;

use Joomla\Registry\Registry;

JLoader::register('TagsHelperRoute', JPATH_BASE . '/components/com_tags/helpers/route.php');

Checked in
github

avatar ghazal ghazal - open - 9 Feb 2015
avatar zero-24 zero-24 - close - 9 Feb 2015
avatar mbabker
mbabker - comment - 9 Feb 2015

The line is fine. That line tells PHP to load a namespaced class into a file for use without needing to always use the fully qualified class name. Please see http://php.net/manual/en/language.namespaces.php for more details.

avatar mbabker mbabker - change - 9 Feb 2015
Status New Closed
Closed_Date 0000-00-00 00:00:00 2015-02-09 13:35:04
avatar mbabker mbabker - close - 9 Feb 2015
avatar zero-24 zero-24 - change - 7 Jul 2015
Labels Added: ?

Add a Comment

Login with GitHub to post a comment