From e46506b2f8c7c06a1cbb5e853dd77b4dae706634 Mon Sep 17 00:00:00 2001 From: Brian Shaughnessy Date: Tue, 8 Apr 2014 21:34:08 -0400 Subject: [PATCH] CRM-14208 move joomlaBase outside of condition clause --- CRM/Utils/System/Joomla.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/System/Joomla.php b/CRM/Utils/System/Joomla.php index 1cdb100697..948768463f 100644 --- a/CRM/Utils/System/Joomla.php +++ b/CRM/Utils/System/Joomla.php @@ -488,8 +488,8 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base { $row = $users[0]; } + $joomlaBase = dirname(dirname(dirname(dirname(dirname(dirname(dirname(dirname(__FILE__)))))))); if ( !defined('JVERSION') ) { - $joomlaBase = dirname(dirname(dirname(dirname(dirname(dirname(dirname(dirname(__FILE__)))))))); require $joomlaBase . '/libraries/cms/version/version.php'; $jversion = new JVersion; define('JVERSION', $jversion->getShortVersion()); -- 2.25.1