Bug #3335 » 3335.patch
components/com_comprofiler/plugin/user/plug_pms_mypmspro/pms.mypmspro.php | ||
---|---|---|
static $notLoaded = true;
|
||
if ( $notLoaded ) {
|
||
if ( defined( 'JPATH_ADMINISTRATOR' ) ) {
|
||
if ( file_exists( JPATH_SITE.'/components/com_uddeim/uddeimlib17.php' ) ) {
|
||
$ver = new JVersion();
|
||
if (!strncasecmp($ver->RELEASE, "1.7", 3)) {
|
||
require_once(JPATH_SITE.'/components/com_uddeim/uddeimlib17.php');
|
||
} elseif (!strncasecmp($ver->RELEASE, "1.6", 3)) {
|
||
require_once(JPATH_SITE.'/components/com_uddeim/uddeimlib16.php');
|
||
} else {
|
||
require_once(JPATH_SITE.'/components/com_uddeim/uddeimlib15.php');
|
||
}
|
||
jimport( 'joomla.version' );
|
||
$ver = new JVersion();
|
||
if (!strncasecmp($ver->RELEASE, "2.5", 3)) {
|
||
require_once(JPATH_SITE.'/components/com_uddeim/uddeimlib25.php');
|
||
} elseif (!strncasecmp($ver->RELEASE, "1.5", 3)) {
|
||
require_once(JPATH_SITE.'/components/com_uddeim/uddeimlib15.php');
|
||
} elseif (!strncasecmp($ver->RELEASE, "1.6", 3)) {
|
||
require_once(JPATH_SITE.'/components/com_uddeim/uddeimlib16.php');
|
||
} elseif (!strncasecmp($ver->RELEASE, "1.7", 3)) {
|
||
require_once(JPATH_SITE.'/components/com_uddeim/uddeimlib17.php');
|
||
} else {
|
||
require_once(JPATH_SITE.'/components/com_uddeim/uddeimlib25.php');
|
||
}
|
||
} else {
|
||
global $mainframe;
|
||
if ( file_exists( $mainframe->getCfg('absolute_path').'/components/com_uddeim/uddeimlib17.php' ) ) {
|
||
require_once($mainframe->getCfg('absolute_path').'/components/com_uddeim/uddeimlib10.php');
|
||
}
|
||
}
|
||
require_once($mainframe->getCfg('absolute_path').'/components/com_uddeim/uddeimlib10.php');
|
||
}
|
||
$notLoaded = false;
|
||
}
|
||
if ( is_callable( 'uddetime' ) && isset( $this->uddeconfig ) ) {
|