%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/nailstv/public_html/config/
Upload File :
Create Path :
Current File : /home/nailstv/public_html/config/config.php

<?php

header('Content-Type: text/html; charset=UTF-8');

session_start();

$path = dirname(__FILE__) . "/..";

set_include_path(get_include_path() . PATH_SEPARATOR . $path);

require_once 'include/Registry.class.php';
require_once 'include/smarty/Smarty.class.php';
require_once 'include/phpthumb/phpthumb.class.php';
require_once 'include/phpmailer/class.phpmailer.php';

Registry::set('start', microtime(true));

Registry::set('debug', false);

Registry::set('site', 'Nails TV');
Registry::set('sitename', 'Nails TV');
Registry::set('wwwroot', 'http://www.nails.tv');
Registry::set('dirroot', $path);
Registry::set('db_engine', 'mysql');
Registry::set('db_host', 'localhost');


Registry::set('db_user', 'nailstv_nailtube_user');
Registry::set('db_pass', 'nailElit123');
Registry::set('db_name', 'nailstv_nailtube_db');

/*

Registry::set('db_user', 'root');
Registry::set('db_pass', 'root303');
Registry::set('db_name', 'nailtube_2015_01_12');
*/

Registry::set('db_charset', 'utf8');
Registry::set('page_numbers', 13);
Registry::set('limit', 10);
Registry::set('email', 'info@mukorom.tv');
Registry::set('from', 'info@mukorom.tv');
Registry::set('mailer', 'mail');
Registry::set('smtp_auth', false);
Registry::set('smtp_host', '');
Registry::set('smtp_user', '');
Registry::set('smtp_pass', '');
Registry::set('gmap_key', 'ABQIAAAAoDtwWG4quIfyhIk7ML8eFhS6Hl0ahnnze6t-aUGl7dOeKjJ1tBTyT06mpL79N8fxg1cPxFKCOUHfUQ');
Registry::set('default_lang', 'hu');
Registry::set('phpthumb_zc', '1');

// mukorom.hu adatbázis
Registry::set('mukoromhu_db_engine', 'mysql');
Registry::set('mukoromhu_db_host', 'localhost');
Registry::set('mukoromhu_db_user', 'bestn_user');
Registry::set('mukoromhu_db_pass', 'eliteC888');
//Registry::set('mukoromhu_db_user', 'root');
//Registry::set('mukoromhu_db_pass', 'root303');
Registry::set('mukoromhu_db_name', 'bestn_db');
Registry::set('mukoromhu_db_charset', 'utf8');


Registry::set('csbolt_db_engine', 'mysql');
Registry::set('csbolt_db_host', 'localhost');
Registry::set('csbolt_db_user', 'cshop_user');
Registry::set('csbolt_db_pass', 'eliX528');
//Registry::set('csbolt_db_user', 'root');
//Registry::set('csbolt_db_pass', 'root303');
Registry::set('csbolt_db_name', 'cshop_db');
Registry::set('csbolt_db_charset', 'utf8');

// crystalnails.com/webshop adatbázis
Registry::set('cncom_shop_db_engine', 'mysql');
Registry::set('cncom_shop_db_host', 'localhost');


Registry::set('cncom_shop_db_user', 'cnwebshnewuser');
Registry::set('cncom_shop_db_pass', 'srS98758U');

//Registry::set('cncom_shop_db_user', 'root');
//Registry::set('cncom_shop_db_pass', 'root303');


Registry::set('cncom_shop_db_name', 'cnwebshnew_db');
Registry::set('cncom_shop_db_charset', 'utf8');


if(Registry::get('debug') === true) {
    error_reporting(E_ALL);
    ini_set('display_errors', 'on');
}
else {
    error_reporting(0);
    ini_set('display_errors', 'off');
}

//error_reporting(E_ALL ^E_NOTICE);
//ini_set('display_errors', 'on');

function __autoload($class_name)
{
	if(file_exists(Registry::get('dirroot') . '/include/'.$class_name.'.class.php'))
	{
    	require_once Registry::get('dirroot') . '/include/'.$class_name.'.class.php';
	}
	else
	{
		die($class_name.'.class.php nem található!');
	}
}

Zerion Mini Shell 1.0