Location: PHPKode > projects > zk-vote > trunk/include/config.inc.php
<?php

/********************************************************************************/
/* ZK-vote: Sistema de Votaciones						        				*/
/* ==============================			                                    */
/*                                                                              */
/*    Copyright (C) 2009  by ZRO and Kaneda                                     */
/*    http://zk-vote.sourceforge.net                                            */
/*                                                                              */  
/*    This program is free software: you can redistribute it and/or modify      */
/*    it under the terms of the GNU General Public License as published by      */
/*    the Free Software Foundation, either version 3 of the License, or         */
/*    (at your option) any later version.                                       */
/*                                                                              */
/*    This program is distributed in the hope that it will be useful,           */
/*    but WITHOUT ANY WARRANTY; without even the implied warranty of            */
/*    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             */
/*    GNU General Public License for more details.                              */
/*                                                                              */
/*   You should have received a copy of the GNU General Public License          */
/*   along with this program.  If not, see <http://www.gnu.org/licenses/>.      */
/********************************************************************************/

$config['sql_host'] = 'localhost';
$config['sql_user'] = 'ragnarok';
$config['sql_pass'] = 'ragnarok';
$config['sql_db'] = 'ragnarok';

$db           = mysql_connect($config['sql_host'],$config['sql_user'],$config['sql_pass']) or die(mysql_error());
                mysql_select_db($config['sql_db']) or die(mysql_error());

// ==================================================
// CONFIGURACION DEL SITIO

$sitename="ZK-VOTE";

$mlevel = "99";		// Nivel de GM Requerido para modificar Tops eje: $mlevel = "99";   para super Admin.
$md5 = "0";			//
$soporte = "http://foro.tusitio.com";	// Aqui puedes colocar el Link a tu Foro o Sitio de Soporte de tu Servidor
										// No olvides usar 'http://' 

// ==================================================

$url = $_SERVER["REQUEST_URI"];
if (eregi("config.inc.php",$url)) {
	header("HTTP/1.0 404 Not Found");
    die();
}

?>
Return current item: zk-vote