summaryrefslogtreecommitdiffstats
path: root/app/classes/Simplel10n.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/classes/Simplel10n.php')
-rwxr-xr-xapp/classes/Simplel10n.php2
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);
}