summaryrefslogtreecommitdiff
path: root/lib/KolabAdmin
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@pardus.de>2010-09-14 04:49:54 (GMT)
committerGunnar Wrobel <wrobel@pardus.de>2010-09-14 04:49:54 (GMT)
commitbd65c47b2fc238580bac319ef7c9eb579e0809b3 (patch)
tree2ef353d42439cea1a385fbb971d35918ab665c3b /lib/KolabAdmin
parentbb26e3cfeb814dd55451e15ebbe7e2f9e9ac1137 (diff)
downloadkolab-webadmin-bd65c47b2fc238580bac319ef7c9eb579e0809b3.tar.gz
Move the locale directory into data
Diffstat (limited to 'lib/KolabAdmin')
-rw-r--r--lib/KolabAdmin/include/locale.php2
-rw-r--r--lib/KolabAdmin/include/mysmarty.php3
2 files changed, 1 insertions, 4 deletions
diff --git a/lib/KolabAdmin/include/locale.php b/lib/KolabAdmin/include/locale.php
index ce7e7fd..4172a42 100644
--- a/lib/KolabAdmin/include/locale.php
+++ b/lib/KolabAdmin/include/locale.php
@@ -108,7 +108,7 @@ setlocale(LC_ALL, $language);
$domain = "messages";
//$tmpSmarty = new MySmarty();
-bindtextdomain($domain, $locale_dir);
+bindtextdomain($domain, $locale_dir);
bind_textdomain_codeset($domain, "UTF-8");
textdomain($domain);
diff --git a/lib/KolabAdmin/include/mysmarty.php b/lib/KolabAdmin/include/mysmarty.php
index 1106869..47f5dd8 100644
--- a/lib/KolabAdmin/include/mysmarty.php
+++ b/lib/KolabAdmin/include/mysmarty.php
@@ -31,17 +31,14 @@ class MySmarty extends Smarty {
global $topdir;
global $php_dir;
global $language;
- global $basedir;
global $smarty_compiledir;
global $webserver_web_prefix;
global $params;
$this->Smarty();
- $this->config_dir = $basedir . 'configs/';
$this->template_dir = $php_dir . '/data/KolabAdmin/templates/';
$this->compile_dir = $smarty_compiledir;
- //$this->cache_dir = $basedir.'cache/';
// Added for i18n management (Romain 05-03-03)
$this->register_function("tr", "translate");