<?php
/***************************************
* Free MyDB Project
* MyDB IDE Version 0.4
* Configuration file
* By Philippe Lewicki
*
* The MyDB librairy and applications are product of SQLFusion
* It may be used and/or distributed under the terms of the Q Public
* License (QPL) version 1.0, enclosed in the file licence.txt.
***************************************/
/* This headers are required when working wiht php4 Candidate1 on windows with apache */
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-cache");
header("Pragma: no-cache");
session_start() ;
/* Include of MyDataLib librairies and classes files */
require("../mydatalib/mydatalib.inc.php3");
require("../mydatalib/execregistry.inc.php3");
require("../mydatalib/libreport.inc.php3") ;
require("../mydatalib/libcatalogue.inc.php3");
/* Information to Connect to your database */
$conx = new mydataconnect;
$conx->db = "mysql" ; /* Name of your Database */
$conx->hostname = "localhost" ; /* host Name or IP of your database server */
$conx->login = "" ; /* Login for your database */
$conx->password = "" ; /* Password for your database */
$idconx = $conx->start();
/* Choose your language Default is English */
// $lang = "de" ; // Germain
// $lang = "fr" ; // Français
if ($lang == "fr") {
include("fflangfr.inc.php") ;
$cfgMainMenu = "mainmenu_inc_fr.php" ;
} elseif ($lang == "de") {
include("fflangde.inc.php") ;
$cfgMainMenu = "mainmenu_inc_de.php" ;
} else {
include("fflanguk.inc.php") ;
$cfgMainMenu = "mainmenu_inc_uk.php" ;
}
$cfgSavedQuery = "savedquery" ;
?>