Beispiel #1
0
 /**
  *This method displays the error message
  *
  *@param 
  *
  */
 public function show()
 {
     //get the global $config array for site title
     global $config;
     //set the title variable
     $title = $config['title'];
     //the variable to be populated with the error message
     $msg = $this->getCode() . ': Error on line ' . $this->getLine() . ' in ' . $this->getFile() . ': <b>  "' . $this->getMessage() . ' " </b> ';
     //load the template file
     include Path::sys() . 'Exceptions' . DIRECTORY_SEPARATOR . 'index.php';
 }