<?php
////////////////////////////////////////////////////////////////////////////////
// Copyright (c), 2002, Sadri Sahraoui <hide@address.com> //
// Hosting App - A web based hosting management system //
// http://sf.net/projetcs/hostingapp/ //
// //
// This program is free software. You can redistribute it and/or modify //
// it under the terms of the GNU General Public License //
// //
// 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 GNU General Public License //
// along with this program. //
////////////////////////////////////////////////////////////////////////////////
/**
*
* @version v1, 24/08/2002
*/
// Paramètre de la base de donné
$db_host = "localhost";
$db_user = "hostingapp";
$db_pass = "hosting";
$db_base = "hosting";
// Tables existing in the database
$tbl_client = 'clients'; // where users data are stored
$tbl_products = 'produits'; // where products specifications are stored
$tbl_domains = 'domain'; // where domains are stored
$tbl_hosting = 'hosting'; // table de jointure
$tbl_mail = 'mail'; //where email address are stored
// Other options
$base_url = "http://localhost/hosting/"; // with trailing slash
$lang = "en"; // default language that'll be used
$path_to_users_home = "/home/users/"; //must end with a trailing slash "/"
$path_to_chg_pass = "/home/users/hosting/cgi-bin/changePassword.pl"; // complete path to the perl script
$app_name = "Hosting App";
$app_version = "v 0.2";
$limit_per_page = 10;
$connect = mysql_connect($db_host, $db_user, $db_pass);
mysql_select_db($db_base);
require("./modules/Mx/ModeliXe.php");
//require("./lang/lang.en.php");
require("./modules/private/build.php");
include_once("./modules/private/adm_domains.php");
include_once("./modules/private/adm_users.php");
include_once("./modules/private/adm_pack.php");
include_once("./modules/private/adm_mail.php");
include ("./modules/common.php");
?>