Refactor configuration files and clean up project structure
Removed unused datasource definitions and redundant module references. Added default settings for code styles and inspection profiles. Adjusted indentation and formatting in HTML and PHP files for better readability and maintainability.
This commit is contained in:
@@ -11,15 +11,10 @@
|
||||
function DB_GLPI() {
|
||||
$username="glpi_lect_seule";
|
||||
$password="glpi_lect_seule";
|
||||
$dbserver="srvv-n4glpi-aim.process.dkm";
|
||||
$dbserver="mys_glpi_prod.appliarmony.net";
|
||||
$database="glpi";
|
||||
global $conn ;
|
||||
$conn = new mysqli($dbserver,$username,$password,$database);
|
||||
if (!$conn) {
|
||||
echo "No connection to the database: " ;
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
function DB_ENTRY01() {
|
||||
@@ -29,10 +24,6 @@
|
||||
$database="infra";
|
||||
global $conn ;
|
||||
$conn = new mysqli($dbserver,$username,$password,$database);
|
||||
if (!$conn) {
|
||||
echo "No connection to the database: " ;
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
function DB_ENTRY02() {
|
||||
@@ -42,22 +33,9 @@
|
||||
$database="web-infra-reports";
|
||||
global $conn ;
|
||||
$conn = new mysqli($dbserver,$username,$password,$database);
|
||||
if (!$conn) {
|
||||
echo "No connection to the database: " ;
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
function DB_EPO(){
|
||||
$user = "epo_db_read_bdnorth_admin";
|
||||
$pwd = 'Qs$PeBtg5nPJ7J';
|
||||
global $conn ;
|
||||
$conn = odbc_connect("Driver={SQL Server};Server=CORP1PWSR001EDB.agd.agn;Database=epo_ARMEOSDDC001;", $user, $pwd);
|
||||
if(!($conn)){echo "Pas de connexion";}
|
||||
}
|
||||
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user