]> projects.mako.cc - scuttle/blobdiff - functions.inc.php
- Enforce minimum elapsed time on registration form
[scuttle] / functions.inc.php
index 63b789a5758647892b27bdb1c64746807d7aef97..c9ef2f6173344cea4ac649967cafe86ffafd9566 100644 (file)
@@ -1,11 +1,11 @@
 <?php
 // UTF-8 functions
-require_once(dirname(__FILE__) .'/includes/utf8.php');
+require_once dirname(__FILE__) .'/includes/utf8/utf8.php';
 
 // Translation
-require_once(dirname(__FILE__) .'/includes/php-gettext/gettext.inc');
+require_once dirname(__FILE__) .'/includes/php-gettext/gettext.inc';
 $domain = 'messages';
-T_setlocale(LC_MESSAGES, $locale);
+T_setlocale(LC_ALL, $locale);
 T_bindtextdomain($domain, dirname(__FILE__) .'/locales');
 T_bind_textdomain_codeset($domain, 'UTF-8');
 T_textdomain($domain);
@@ -157,4 +157,3 @@ function message_die($msg_code, $msg_text = '', $msg_title = '', $err_line = '',
        echo "<html>\n<body>\n". $msg_title ."\n<br /><br />\n". $msg_text ."</body>\n</html>";
        exit;
 }
-?>

Benjamin Mako Hill || Want to submit a patch?