|
From: Benjamin C. <bc...@us...> - 2004-07-03 13:08:50
|
Update of /cvsroot/phpbt/phpbt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7559 Modified Files: Tag: htmltemplates include.php Log Message: Moving gettext() setup to inc/functions.php from include.php Index: include.php =================================================================== RCS file: /cvsroot/phpbt/phpbt/include.php,v retrieving revision 1.126.4.8 retrieving revision 1.126.4.9 diff -u -r1.126.4.8 -r1.126.4.9 --- include.php 3 Jul 2004 12:59:16 -0000 1.126.4.8 +++ include.php 3 Jul 2004 13:08:42 -0000 1.126.4.9 @@ -148,16 +148,6 @@ // End classes -- Begin page -// Set the domain if gettext is available -if (is_callable('gettext')) { - define('USE_GETTEXT', true); - setlocale(LC_ALL, LOCALE); - bindtextdomain('phpbt', './locale'); - textdomain('phpbt'); -} else { - define('USE_GETTEXT', false); -} - if (!defined('NO_AUTH')) { session_start(); $auth = new uauth; |