|
From: Benjamin C. <bc...@us...> - 2004-06-30 13:50:01
|
Update of /cvsroot/phpbt/phpbt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28899 Modified Files: Tag: htmltemplates include.php Log Message: Changed function_exists() to is_callable() to help with gettext not really being available. Index: include.php =================================================================== RCS file: /cvsroot/phpbt/phpbt/include.php,v retrieving revision 1.126.4.6 retrieving revision 1.126.4.7 diff -u -r1.126.4.6 -r1.126.4.7 --- include.php 21 May 2004 12:36:16 -0000 1.126.4.6 +++ include.php 30 Jun 2004 13:49:51 -0000 1.126.4.7 @@ -140,7 +140,7 @@ // End classes -- Begin page // Set the domain if gettext is available -if (function_exists('gettext')) { +if (is_callable('gettext')) { define('USE_GETTEXT', true); setlocale(LC_ALL, LOCALE); bindtextdomain('phpbt', './locale'); |