PHP Classes

File: views/view.php

Recommend this page to a friend!
  Classes of Muhammad Umer Farooq   Whoops   views/view.php   Download  
File: views/view.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Whoops
Handle PHP errors integrating with code editors
Author: By
Last change:
Date: 4 years ago
Size: 2,140 bytes


Class file image Download
<!DOCTYPE html>
  <title>An error occured</title>
  <meta charset="utf-8">
  <link rel="stylesheet" href="">
  <script src=""></script>
  <script src=""></script>
  <link rel="stylesheet"
  <script src="//"></script>
  <style type="text/css">
    .line {
  margin-left: -10px;
  background: rgba(0, 0, 0, .14);
  padding: 2px 2px;
  margin-top: -1px;
  margin-right: 14px;
  width: 44px;
  display: inline-table;
  text-align: center;

    <div class="">
        <div class="container">
                <p><?php echo isset($stack['message']) ? $stack['message'] : '<span style="color:red">Sorry, message not found</span>' ?></p>
              <p><span style='color:red'>File: </span><?php echo isset($stack['file']) ? $stack['file'] : '<span style="color:red">Sorry, message not found</span>' ?></p>
= $stack['editorUri'];
$uri = str_replace('::file', $stack['file'], $uri);
$uri = str_replace('::line', $stack['line'], $uri);
               echo (!empty(
$stack['editor'])) ? "<a href='{$uri}'>Open file in ".$stack['editor'].' editor</a>' : ''; ?></p>

              <pre><code class=""><?php echo isset($stack['previewCode']) ? $stack['previewCode'] : '<span style="color:red">Sorry, code not loaded</span>' ?></code></pre>
              <pre><?php echo isset($stack['trace']) ? $stack['trace'] : '<span style="color:red">Sorry, message not found</span>' ?></pre>