diff options
Diffstat (limited to 'app/classes/Simplel10n.php')
-rwxr-xr-x | app/classes/Simplel10n.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/classes/Simplel10n.php b/app/classes/Simplel10n.php index 7af8564..79313b3 100755 --- a/app/classes/Simplel10n.php +++ b/app/classes/Simplel10n.php @@ -9,7 +9,7 @@ class Simplel10n { public function __construct($locale='en') { $GLOBALS['locale'] = array(); $this->locale = $locale; - $this->l10nFolder = dirname(__FILE__) . '/../l10n/'; + $this->l10nFolder = __DIR__ . '/../l10n/'; $this->load($this->l10nFolder . $this->locale); } |