summaryrefslogtreecommitdiffstats
path: root/system/core/Lang.php
diff options
context:
space:
mode:
authorGreg Aker <greg.aker@ellislab.com>2011-04-19 17:59:47 +0200
committerGreg Aker <greg.aker@ellislab.com>2011-04-19 17:59:47 +0200
commit3a746655e92ec59ee7e731c3535673a9aedc5d3e (patch)
treeb7890445cdad0a65d02c27ae570c2c5d05905267 /system/core/Lang.php
parente6e6e64ab078205153513af24dd4163157efb148 (diff)
Removing internal references to the EXT constant. Additionally, marked the constant as deprecated. Use ".php" instead. Also adding upgrade notes from 2.0.2 to 2.0.3.
Diffstat (limited to 'system/core/Lang.php')
-rw-r--r--system/core/Lang.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/core/Lang.php b/system/core/Lang.php
index cdadc7f41..170e6c725 100644
--- a/system/core/Lang.php
+++ b/system/core/Lang.php
@@ -51,14 +51,14 @@ class CI_Lang {
*/
function load($langfile = '', $idiom = '', $return = FALSE, $add_suffix = TRUE, $alt_path = '')
{
- $langfile = str_replace(EXT, '', $langfile);
+ $langfile = str_replace('.php', '', $langfile);
if ($add_suffix == TRUE)
{
$langfile = str_replace('_lang.', '', $langfile).'_lang';
}
- $langfile .= EXT;
+ $langfile .= '.php';
if (in_array($langfile, $this->is_loaded, TRUE))
{