diff --git a/src/Whoops/Handler/PrettyPageHandler.php b/src/Whoops/Handler/PrettyPageHandler.php index 52df732..a399764 100644 --- a/src/Whoops/Handler/PrettyPageHandler.php +++ b/src/Whoops/Handler/PrettyPageHandler.php @@ -35,7 +35,7 @@ class PrettyPageHandler extends Handler if(php_sapi_name() === 'cli' && !isset($_ENV['whoops-test'])) { return Handler::DONE; } - + // Get the 'pretty-template.php' template file // @todo: this can be made more dynamic &&|| cleaned-up if(!($resources = $this->getResourcesPath())) { @@ -64,12 +64,12 @@ class PrettyPageHandler extends Handler 'pageStyle' => file_get_contents($cssFile), 'tables' => array( + 'Server/Request Data' => $_SERVER, 'GET Data' => $_GET, 'POST Data' => $_POST, 'Files' => $_FILES, 'Cookies' => $_COOKIE, 'Session' => isset($_SESSION) ? $_SESSION: array(), - 'Server/Request Data' => $_SERVER, 'Environment Variables' => $_ENV ) ); diff --git a/src/Whoops/Resources/pretty-page.css b/src/Whoops/Resources/pretty-page.css index 5a6a82c..1d33bac 100644 --- a/src/Whoops/Resources/pretty-page.css +++ b/src/Whoops/Resources/pretty-page.css @@ -238,6 +238,11 @@ header { hyphens: auto; } + .data-table .empty { + color: rgba(0, 0, 0, .3); + font-style: italic; + } + .handler { padding: 10px; font: 14px monospace; diff --git a/src/Whoops/Resources/pretty-template.php b/src/Whoops/Resources/pretty-template.php index 96e505e..979d64a 100644 --- a/src/Whoops/Resources/pretty-template.php +++ b/src/Whoops/Resources/pretty-template.php @@ -103,29 +103,27 @@
| Key | +Value | +||
| Key | -Value | ++ | |
| - | - |