fix undefined index error in webfinger

This commit is contained in:
jkaberg 2014-08-19 11:37:20 +02:00
parent 3f5f95a633
commit da17466526
1 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,9 @@
<?php
$resource = $_GET['resource'];
$resource = '';
if(isset($_GET['resource'])){
$resource = $_GET['resource'];
}
// Parse our configuration file to get the STORAGE_ROOT.
$STORAGE_ROOT = NULL;