CRM-15525 change require to require_once
authorBrian Shaughnessy <brian@lcdservices.biz>
Mon, 27 Oct 2014 18:14:33 +0000 (14:14 -0400)
committerBrian Shaughnessy <brian@lcdservices.biz>
Mon, 27 Oct 2014 18:14:33 +0000 (14:14 -0400)
CRM/Utils/System/Joomla.php

index 3951f52b8d019f6b5db09f9bcbd0d8a63c3b0f7e..07ba3ed32dbf33f06f69e8ac01149d2fed3141af 100644 (file)
@@ -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';
         }
       }