Skip to content

Commit

Permalink
fix undefined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuNls committed Feb 15, 2016
1 parent f080457 commit 5c9c9c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 0 additions & 6 deletions application/core/MY_Exceptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions application/libraries/Mandrill.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ class Mandrill {

public function __construct() {

$apikey = false;

if (!$apikey) {$apikey = getenv('MANDRILL_APIKEY');
}

Expand Down

0 comments on commit 5c9c9c8

Please sign in to comment.