• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CI 1.6.1 Language loader bug

#1
[eluser]wiredesignz[/eluser]
Hello,

While browsing your core language library (for no reason) I discovered something that may be a problem for some folk:
Code:
//line 54
$langfile = str_replace(EXT, '', str_replace('_lang.', '', $langfile)).'_lang'.EXT;

//remove the period after str_replace('_lang
$langfile = str_replace(EXT, '', str_replace('_lang', '', $langfile)).'_lang'.EXT;

The effect of this bug is that if a $langfile named 'english_lang' is passed in it becomes 'english_lang_lang'

Thank you for your time. :lol:

#2
[eluser]xwero[/eluser]
Only people who didn't read the user guide would experience that problem Wink

#3
[eluser]wiredesignz[/eluser]
Yeah, but who around here ever RTFM :lol:


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.