diff --git a/application/core/MY_Exceptions.php b/application/core/MY_Exceptions.php index 92beb207..d5d9972f 100644 --- a/application/core/MY_Exceptions.php +++ b/application/core/MY_Exceptions.php @@ -11,12 +11,6 @@ public function show_php_error($severity, $message, $filepath, $line) $severity = ( ! isset($this->levels[$severity])) ? $severity : $this->levels[$severity]; $filepath = str_replace("\\", "/", $filepath); - - ob_start(); - include(APPPATH.'errors/error_php'.EXT); - $buffer = ob_get_contents(); - ob_end_clean(); - $header = $severity. ' exception . occurred with message: '.$message .' in File '.$filepath diff --git a/application/libraries/Mandrill.php b/application/libraries/Mandrill.php index 6b933ea0..40da6234 100644 --- a/application/libraries/Mandrill.php +++ b/application/libraries/Mandrill.php @@ -58,6 +58,8 @@ class Mandrill { public function __construct() { + $apikey = false; + if (!$apikey) {$apikey = getenv('MANDRILL_APIKEY'); }