@@ -134,9 +134,9 @@ |
||
134 | 134 | $config['composer_autoload'] = FALSE; |
135 | 135 | |
136 | 136 | //NOTE: This doesn't work in autoload.php as it is loaded after we need it. |
137 | -spl_autoload_register(function ($class) { |
|
138 | - $fileMono = APPPATH . '../vendor/monolog/monolog/src/'.strtr($class, '\\', '/').'.php'; |
|
139 | - $filePsr = APPPATH . '../vendor/psr/log/'.strtr($class, '\\', '/').'.php'; |
|
137 | +spl_autoload_register(function($class) { |
|
138 | + $fileMono = APPPATH.'../vendor/monolog/monolog/src/'.strtr($class, '\\', '/').'.php'; |
|
139 | + $filePsr = APPPATH.'../vendor/psr/log/'.strtr($class, '\\', '/').'.php'; |
|
140 | 140 | if(file_exists($fileMono)) { |
141 | 141 | require $fileMono; |
142 | 142 | return TRUE; |
@@ -1,4 +1,4 @@ |
||
1 | -<?php defined('BASEPATH') OR exit('No direct script access allowed'); |
|
1 | +<?php defined('BASEPATH') or exit('No direct script access allowed'); |
|
2 | 2 | |
3 | 3 | /* |
4 | 4 | |-------------------------------------------------------------------------- |
@@ -1,4 +1,4 @@ |
||
1 | -<?php defined('BASEPATH') OR exit('No direct script access allowed'); |
|
1 | +<?php defined('BASEPATH') or exit('No direct script access allowed'); |
|
2 | 2 | |
3 | 3 | /* |
4 | 4 | |-------------------------------------------------------------------------- |
@@ -31,7 +31,7 @@ |
||
31 | 31 | $config['file_multiline'] = TRUE; //add newlines to the output |
32 | 32 | |
33 | 33 | /* NEW RELIC OPTIONS */ |
34 | -$config['new_relic_app_name'] = 'APP NAME - ' . ENVIRONMENT; |
|
34 | +$config['new_relic_app_name'] = 'APP NAME - '.ENVIRONMENT; |
|
35 | 35 | |
36 | 36 | /* HIPCHAT OPTIONS */ |
37 | 37 | $config['hipchat_app_token'] = ''; //HipChat API Token |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php defined('BASEPATH') OR exit('No direct script access allowed'); |
|
1 | +<?php defined('BASEPATH') or exit('No direct script access allowed'); |
|
2 | 2 | |
3 | 3 | /* |
4 | 4 | * CodeIgniter Monolog Plus |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | $config['hipchat_app_token'] = ''; //HipChat API Token |
38 | 38 | $config['hipchat_app_room_id'] = ''; //The room that should be alerted of the message (Id or Name) |
39 | 39 | $config['hipchat_app_notification_name'] = 'Monolog'; //Name used in the "from" field |
40 | -$config['hipchat_app_notify'] = false; //Trigger a notification in clients or not |
|
40 | +$config['hipchat_app_notify'] = FALSE; //Trigger a notification in clients or not |
|
41 | 41 | $config['hipchat_app_loglevel'] = 'WARNING'; //The minimum logging level at which this handler will be triggered |
42 | 42 | |
43 | 43 | /* PAPER TRAIL OPTIONS */ |
@@ -1,4 +1,4 @@ |
||
1 | -<?php defined('BASEPATH') OR exit('No direct script access allowed'); |
|
1 | +<?php defined('BASEPATH') or exit('No direct script access allowed'); |
|
2 | 2 | |
3 | 3 | /* GENERAL OPTIONS */ |
4 | 4 | $config['handlers'] = array('file', 'papertrail', 'cli'); // valid handlers are ci_file | file | new_relic | hipchat | stderr | papertrail |