avoid undefined index triggered by user's php.ini

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2178 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.20
Xuefer 15 years ago
parent 695a227783
commit 765d3cbe6a

@ -1,3 +1,4 @@
<?php
print $_ENV[$_GET["env"]];
$env = $_GET["env"];
print isset($_ENV[$env]) ? $_ENV[$env] : '';
?>

Loading…
Cancel
Save