Skip to content

Commit 3b01ad2

Browse files
committed
improve the iluminate db loading: do not try to autoload! fixed auto loading null object
1 parent 38b4f50 commit 3b01ad2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/Profiler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ protected function _compile_eloquent()
252252
$this->CI->load->model('Eloquent/Assets/Action');
253253
}
254254

255-
if ( ! class_exists('Illuminate\Database\Capsule\Manager')) {
255+
if ( ! class_exists('Illuminate\Database\Capsule\Manager', FALSE)) {
256256
$output = 'Illuminate\Database has not been loaded.';
257257
} else {
258258
// Load the text helper so we can highlight the SQL

0 commit comments

Comments
 (0)