? 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/happy2/administrator/components/com_jaextmanager/lib/
File Upload :
Current File : /home/admin/public_html/old/happy2/administrator/components/com_jaextmanager/lib/config.php

<?php
/**
 * ------------------------------------------------------------------------
 * JA Extenstion Manager Component for J25 & J31
 * ------------------------------------------------------------------------
 * Copyright (C) 2004-2011 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
 * @license - GNU/GPL, http://www.gnu.org/licenses/gpl.html
 * Author: J.O.O.M Solutions Co., Ltd
 * Websites: http://www.joomlart.com - http://www.joomlancers.com
 * ------------------------------------------------------------------------
 */
// no direct access
defined ( '_JEXEC' ) or die ( 'Restricted access' );
 
define('JA_WORKING_DATA_FOLDER', PATH_ROOT."/jaextmanager_data/");
jimport('joomla.filesystem.file');
jimport('joomla.filesystem.folder');

function jaucRaiseMessage($message, $error = false)
{
	if ($error) {
		echo "<div style=\"color:red; font-weight:bold;\">$message</div>";
	} else {
		echo "<div style=\"color:green; font-weight:bold;\">$message</div>";
	}
}

$errMsg = "";
if (!JFolder::exists(JA_WORKING_DATA_FOLDER)) {
	if (!JFolder::create(JA_WORKING_DATA_FOLDER, 0777)) {
		$errMsg .= "JA Updater can not create below folder automatically. Please manual create and chmod it to wriable!" . "<br />";
		$errMsg .= "<i>" . JA_WORKING_DATA_FOLDER . "</i>";
	}
} elseif (!is_writeable(JA_WORKING_DATA_FOLDER)) {
	if (!chmod(JA_WORKING_DATA_FOLDER, 0777)) {
		$errMsg .= "JA Updater can not automatically chmod for below folder to wriable. Please manual chmod it to wriable!" . "<br />";
		$errMsg .= "<i>" . JA_WORKING_DATA_FOLDER . "</i>";
	}
}
if ($errMsg != "") {
	jaucRaiseMessage($errMsg, true);
}

// This file will hold configuration for UpdaterClient
global $config;

//echo "other flatform";
$config = new UpdaterConfig(
					array(
						// Define the web service URI
						
						"WS_MODE"	=> "remote",
						"WS_URI"	=> "http://update.joomlart.com/service/",
						"WS_USER"	=> "joomlart",
						"WS_PASS"	=> "joomlart",
						//
						"REPO_PATH" => "",
						"MYSQL_HOST" => "localhost",
						"MYSQL_USER" => "thanhnv",
						"MYSQL_PASS" => "1234",
						"MYSQL_DB" => "ja_updater",
						"MYSQL_DB_PREFIX" => "jos_",
						"MYSQL_PATH" => 'mysql',
						//for backup database
						"MYSQLDUMP_PATH" => 'mysqldump'
					)
				);

ini_set('xdebug.max_nesting_level', 100);
ini_set('xdebug.var_display_max_depth', 100);

T1KUS90T
  root-grov@210.1.60.28:~$