summaryrefslogtreecommitdiff
path: root/functions.inc.php
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-11-21 11:02:01 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-11-21 11:02:01 +0000
commit5db18a09c4eca4560c117f0b4dcd85d75e7139f2 (patch)
tree1fe739924ac56bebd2bf545f383aa1e0094a0b18 /functions.inc.php
parent3c181054dbe60467cc744c447010f525a862c26e (diff)
downloadsemanticscuttle-5db18a09c4eca4560c117f0b4dcd85d75e7139f2.tar.gz
semanticscuttle-5db18a09c4eca4560c117f0b4dcd85d75e7139f2.tar.bz2
Refactoring: improve defined and imported functions
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@169 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'functions.inc.php')
-rw-r--r--functions.inc.php12
1 files changed, 2 insertions, 10 deletions
diff --git a/functions.inc.php b/functions.inc.php
index 93821fd..965b120 100644
--- a/functions.inc.php
+++ b/functions.inc.php
@@ -1,14 +1,6 @@
<?php
-// UTF-8 functions
-require_once(dirname(__FILE__) .'/includes/utf8.php');
-
-// Translation
-require_once(dirname(__FILE__) .'/includes/php-gettext/gettext.inc');
-$domain = 'messages';
-T_setlocale(LC_MESSAGES, $locale);
-T_bindtextdomain($domain, dirname(__FILE__) .'/locales');
-T_bind_textdomain_codeset($domain, 'UTF-8');
-T_textdomain($domain);
+/* Define functions used into the application */
+
// Converts tags:
// - direction = out: convert spaces to underscores;