PHP Classes

File: CMF/Web/application/views/errors/cli/error_php.php

Recommend this page to a friend!
  Classes of Burge Lab   BurgeATS   CMF/Web/application/views/errors/cli/error_php.php   Download  
File: CMF/Web/application/views/errors/cli/error_php.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: BurgeATS
CRM, Ticketing system, and employee manangement
Author: By
Last change: Update of CMF/Web/application/views/errors/cli/error_php.php
Date: 1 year ago
Size: 690 bytes
 

Contents

Class file image Download
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>

A PHP Error was encountered

Severity: <?php echo $severity, "\n"; ?>
Message: <?php echo $message, "\n"; ?>
Filename: <?php echo $filepath, "\n"; ?>
Line Number: <?php echo $line; ?>

<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?>

Backtrace:
<?php foreach (debug_backtrace() as $error): ?>
<?php
if (isset($error['file']) && strpos($error['file'], realpath(BASEPATH)) !== 0): ?>
File: <?php echo $error['file'], "\n"; ?>
Line: <?php echo $error['line'], "\n"; ?>
Function: <?php echo $error['function'], "\n\n"; ?>
<?php
endif ?>
<?php
endforeach ?>

<?php endif ?>