Project

General

Profile

Bug #3335 » 3335_rev1.patch

krileon, 19 June 2012 20:51

View differences:

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');
}
if ( checkJversion() > 0 ) {
$ver = checkJversion( 'release' );
if (!strncasecmp($ver, "2.5", 3)) {
require_once(JPATH_SITE.'/components/com_uddeim/uddeimlib25.php');
} elseif (!strncasecmp($ver, "1.5", 3)) {
require_once(JPATH_SITE.'/components/com_uddeim/uddeimlib15.php');
} elseif (!strncasecmp($ver, "1.6", 3)) {
require_once(JPATH_SITE.'/components/com_uddeim/uddeimlib16.php');
} elseif (!strncasecmp($ver, "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 ) ) {
(2-2/3)