From: Jean-Marc Pigeon (Delson) Date: Thu, 28 Aug 2025 19:02:07 +0000 (-0400) Subject: Adjusting php conde about connect X-Git-Tag: end-0.15~50 X-Git-Url: https://jmp-git.ovh.safe.ca/?a=commitdiff_plain;h=7c1a92b3635c5d274208e8b0e678a7c4d974f86d;p=jmp%2Fmailleur Adjusting php conde about connect --- 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; } ?>