Olaf Bohlen
2023-06-16 d14b81bc0242cfb49229571f38eb26fa7de43b2b
index.php
@@ -24,7 +24,12 @@
      echo "no other file found!";
    }
    echo '</p>';
    $host = "";
    $user = "";
    $pass = "";
    $db = "";
    $host = $_ENV["DBHOST"]; 
    $user = $_ENV["DBUSER"]; 
    $pass = $_ENV["DBPASS"]; 
@@ -43,14 +48,6 @@
    }
    echo "</p>";
    pg_close($con);
    set_error_handler(function(int $errno, string $errstr) {
      if ((strpos($errstr, 'Undefined array key') === false) && (strpos($errstr, 'Undefined variable') === false)) {
        return false;
      } else {
        return true;
      }
    }, E_WARNING);
?>
 </body>
</html>