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>