mirror of
https://github.com/BeitDina/AutoIndex.git
synced 2025-12-27 01:09:42 +01:00
Adding new features. Preparing Alpha.
This commit is contained in:
@@ -46,11 +46,9 @@ class ExceptionDisplay extends ExceptionFatal
|
||||
*/
|
||||
public function __toString()
|
||||
{
|
||||
global $words;
|
||||
$str = '<table><tr class="paragraph"><td class="autoindex_td" style="padding: 8px;">'
|
||||
. $this -> message . '<p><a class="autoindex_a" href="'
|
||||
. Url::html_output($_SERVER['PHP_SELF']);
|
||||
if (isset($_GET['dir']))
|
||||
global $words, $_SERVER, $_GET;
|
||||
$str = '<table><tr class="paragraph"><td class="autoindex_td" style="padding: 8px;">' . $this -> message . '<p><a class="autoindex_a" href="' . Url::html_output($_SERVER['PHP_SELF']);
|
||||
if (!empty($_GET['dir']))
|
||||
{
|
||||
$str .= '?dir=' . Url::translate_uri($_GET['dir']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user