diff --git a/index.php b/index.php index aa325b3c1..7cc20ed67 100644 --- a/index.php +++ b/index.php @@ -6,9 +6,12 @@ header('Content-Type: text/plain'); $text = "Set a message by adding ?message= to the URL"; + +$dbEnv = getenv("DATABASE_URL"); + if(isset($_GET['message']) && $_GET['message'] != '') { $text = htmlspecialchars($_GET['message']); } $cow = Farm::create(\Cowsayphp\Farm\Cow::class); -echo $cow->say($text); +echo $cow->say($text . ", Conn Str : " . $dbEnv);