From 7c1a92b3635c5d274208e8b0e678a7c4d974f86d Mon Sep 17 00:00:00 2001 From: "Jean-Marc Pigeon (Delson)" Date: Thu, 28 Aug 2025 15:02:07 -0400 Subject: [PATCH] Adjusting php conde about connect --- www/mailleur.php | 6 ++---- www/unimar.php | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/www/mailleur.php b/www/mailleur.php index 8be2d09..c545d9e 100644 --- a/www/mailleur.php +++ b/www/mailleur.php @@ -9,9 +9,8 @@ include_once "scrfun.php"; include_once "devsql.php"; $footer=footer("mailleur"); $dbtype=getenv("DB_TYPE"); -$dbport=getenv("DB_PORT"); -$mode=sql_connect(); -$ferme=sql_close(); +$conn=sql_connect(); +sql_close($conn); $STR = << $footer -sql_close=$ferme EOT; diff --git a/www/unimar.php b/www/unimar.php index f72a129..960a3be 100644 --- a/www/unimar.php +++ b/www/unimar.php @@ -29,6 +29,6 @@ function mar_close($conn) $OPEP="unimar.php, mar_close"; mysql_close($conn); -return 0 +return 0; } ?> -- 2.47.3