Commit dfb1ff0d authored by Dmitri Popov's avatar Dmitri Popov

Update index.php

parent 822cd401
......@@ -32,7 +32,7 @@
<p><button>Edit</button></p>
</form>
<?php
if($_GET["url"] && $_GET['key'] == $key)
if(isset($_GET["url"]) && $_GET['key'] == $key)
{
$href = '<p><a href="'.$_GET['url'].'" title="'.$_GET['txt'].'">'.$_GET['url'].'</a></p>'."\n";
$href .= file_get_contents('links.txt');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment