Children Drivers #2036

Merged
merged 2 commits into from Nov 28, 2012

Projects

None yet

3 participants

@williamknauss

This allows developers to create children drivers that are not prefix
with "CI_". This is a nity grity change, however it keeps with the
mindset that class names that start with CI_ are typically overrides of
core classes.

@williamknauss williamknauss Children Drivers
This allows developers to create children drivers that are not prefix
with "CI_". This is a nity grity change, however it keeps with the
mindset that class names that start with CI_ are typically overrides of
core classes.
401fb49
@narfbg narfbg commented on an outdated diff Nov 28, 2012
system/libraries/Driver.php
@@ -160,9 +160,17 @@ public function load_driver($child)
// Did we finally find the class?
if ( ! class_exists($class_name))
{
- $msg = 'Unable to load the requested driver: '.$class_name;
- log_message('error', $msg);
- show_error($msg);
+ // last ditch effort. Maybe someone is coding by the 2.1 driver style.
@narfbg
narfbg Nov 28, 2012 collaborator

Could you just remove this comment? The rest looks good. :)

@dchill42

👍

@williamknauss williamknauss Remove Comment
As requested removed useless comment
0ab4d3a
@narfbg narfbg merged commit 539f34e into bcit-ci:develop Nov 28, 2012

1 check was pending

Details default The Travis build is in progress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment