diff --git a/index.php b/index.php index b5ea46b..7c89dcc 100644 --- a/index.php +++ b/index.php @@ -1,4 +1,12 @@ ./?'.$urlhash.'
- As long as there is not collision, you can shorten it down to 3 characters.'; + $content = './?'.$urlhash.''; } elseif (!empty($_GET)) { $urlhash = key($_GET); @@ -34,11 +41,6 @@ if (!empty($_GET['url'])) { $content = 'No files.'; return 1; - } elseif (count($findfiles) > 1) { - foreach ($findfiles as $file) { - $file = str_replace('/', '', substr($file, 5)); - $content = './?'.$file.'
'; - } } $fullfilepath = current($findfiles);