From c569d32bcffc2c8adc137d00cc875b1540371843 Mon Sep 17 00:00:00 2001 From: kmaxi Date: Fri, 12 Jul 2024 15:32:44 +0200 Subject: [PATCH] Removed debug statements --- Models/Db.php | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/Models/Db.php b/Models/Db.php index 3a9c9b3..162c5ff 100644 --- a/Models/Db.php +++ b/Models/Db.php @@ -30,21 +30,6 @@ class Db private PDO $connection; public function __construct($credentialsFilePath) { -// Print the credentialsFilePath -print_r($credentialsFilePath); - -// Determine the full expected path -$fullExpectedPath = __DIR__ . DIRECTORY_SEPARATOR . $credentialsFilePath; -print_r("Expected full path is: " . $fullExpectedPath); - -// Print out the entire file path from root of the computer -$realPath = realpath($credentialsFilePath); -if ($realPath !== false) { - print_r("The real path is: " . $realPath); -} else { - print_r("The real path could not be determined. The file may not exist."); -} - $credentials = parse_ini_file($credentialsFilePath); $this->host = $credentials['host']; $this->database = $credentials['database'];