Please Log in to join the conversation.
function _pmsUddeGetTime($currentTime) {
global $_CB_framework;
return $currentTime+($_CB_framework->getCfg( 'offset' )*3600);
}
function _pmsUddeGetTime($currentTime) {
global $_CB_framework;
include_once( $_CB_framework->getCfg('absolute_path') . "/administrator/components/com_uddeim/config.class.php");
return uddetime($config->timezone);
}
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
function _pmsUddeGetTime($currentTime) {
global $_CB_framework;
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');
}
}
} 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');
}
}
$notLoaded = false;
}
if (TRUE) { //that TRUE is only for testing here if ( is_callable( 'uddetime' ) && isset( $this->uddeconfig ) ) {
include( $_CB_framework->getCfg('absolute_path') . "/administrator/components/com_uddeim/config.class.php");
return uddetime($config->timezone);
} else {
global $_CB_framework;
return $currentTime+($_CB_framework->getCfg( 'offset' )*3600);
}
}
Please Log in to join the conversation.
Please Log in to join the conversation.