From d1f01e613659039455e4f5b0621585f5e43810bb Mon Sep 17 00:00:00 2001 From: "Jean-Marc Pigeon (Delson)" Date: Thu, 28 Aug 2025 13:24:56 -0400 Subject: [PATCH] Adding trace to devsql.php --- www/devsql.php | 4 ++++ www/unimar.php | 11 ++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/www/devsql.php b/www/devsql.php index e219c85..5f92ef4 100644 --- a/www/devsql.php +++ b/www/devsql.php @@ -12,6 +12,7 @@ $dbtype=getenv("DB_TYPE"); switch($dbtype) { case 'MYSQL' : include_once "unimar.php"; + $STR=mar_connect(); break; case 'POSTGRESQL' : include_once "unipos.php"; @@ -21,6 +22,7 @@ switch($dbtype) { throw new ErrorException($daterr); break; } +return $STR; } function sql_close() @@ -29,6 +31,7 @@ function sql_close() $dbtype=getenv("DB_TYPE"); switch($dbtype) { case 'MYSQL' : + $STR=mar_close(); break; case 'POSTGRESQL' : break; @@ -37,5 +40,6 @@ switch($dbtype) { throw new ErrorException($daterr); break; } +return $STR; } ?> diff --git a/www/unimar.php b/www/unimar.php index 7efdc23..e7f53b9 100644 --- a/www/unimar.php +++ b/www/unimar.php @@ -5,7 +5,16 @@ // //============================================================== -mar_close() +function mar_connect() + +{ +$STR="unimar.php, mar_connect\n"; + +return $STR; +} + + +function mar_close() { $STR="unimar.php, mar_close\n"; -- 2.47.3