From: Brian Shaughnessy Date: Mon, 27 Oct 2014 18:14:33 +0000 (-0400) Subject: CRM-15525 change require to require_once X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=90eac10a7a4397aed2233b9dfc2b954bffe3ad6c;p=civicrm-core.git CRM-15525 change require to require_once --- diff --git a/CRM/Utils/System/Joomla.php b/CRM/Utils/System/Joomla.php index 3951f52b8d..07ba3ed32d 100644 --- a/CRM/Utils/System/Joomla.php +++ b/CRM/Utils/System/Joomla.php @@ -540,9 +540,9 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base { //include additional files required by Joomla 3.2.1+ if ( version_compare(JVERSION, '3.2.1', 'ge') ) { - require $joomlaBase . '/libraries/cms/application/helper.php'; - require $joomlaBase . '/libraries/cms/application/cms.php'; - require $joomlaBase . '/libraries/cms/application/administrator.php'; + require_once $joomlaBase . '/libraries/cms/application/helper.php'; + require_once $joomlaBase . '/libraries/cms/application/cms.php'; + require_once $joomlaBase . '/libraries/cms/application/administrator.php'; } }