Permalink
Browse files

Merge pull request #1964 from Razican/log_fix

Fixed typo in logs
  • Loading branch information...
2 parents cdac248 + fc2fbc5 commit d7677ab78cb98283677f85a8acf3ef4489a30d5e @narfbg narfbg committed Nov 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 system/libraries/Log.php
View
2 system/libraries/Log.php
@@ -152,7 +152,7 @@ public function write_log($level = 'error', $msg, $php_error = FALSE)
if ( ! file_exists($filepath))
{
$newfile = TRUE;
- $message .= '<'."?php if defined('BASEPATH') OR exit('No direct script access allowed'); ?".">\n\n";
+ $message .= '<'."?php defined('BASEPATH') OR exit('No direct script access allowed'); ?".">\n\n";
}
if ( ! $fp = @fopen($filepath, FOPEN_WRITE_CREATE))

0 comments on commit d7677ab

Please sign in to comment.