Welcome Guest, Not a member yet? Register   Sign In
Bug on system/libraries/Driver.php [SOLVED]
#1

[eluser]OliverHR[/eluser]
On line 48 Driver name is lower cased.

Code:
// Remove the CI_ prefix and lowercase
$lib_name = strtolower(preg_replace('/^CI_/', '', $this->lib_name));
...


But as in the user guide say:
Quote:NOTE: In order to maintain compatibility on case-sensitive file systems, the Driver_name directory must be ucfirst()

Then the correct code could be:

Code:
$lib_name = ucfirst(strtolower(preg_replace('/^CI_/', '', $this->lib_name)));

By the way in the user guide are not listed the Drivers sections:

Quote:Using CodeIgniter Drivers: http://ellislab.com/codeigniter/user-gui...ivers.html
Creating Drivers: http://ellislab.com/codeigniter/user-gui...ivers.html
#2

[eluser]OliverHR[/eluser]
This code issue is SOLVED already on Codeigniter-Reactor.


https://bitbucket.org/ellislab/codeignit....php#cl-48




Theme © iAndrew 2016 - Forum software by © MyBB