Update of /cvsroot/phpwiki/phpwiki/lib
In directory usw-pr-cvs1:/tmp/cvs-serv4255/lib
Modified Files:
Tag: release-1_2-branch
config.php
Log Message:
Added call to setlocale(). In some PHP installations, it seems, gettext()
will not work without it.
Index: config.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/config.php,v
retrieving revision 1.24.2.1
retrieving revision 1.24.2.2
diff -C2 -r1.24.2.1 -r1.24.2.2
*** config.php 2001/02/08 18:28:31 1.24.2.1
--- config.php 2001/05/21 16:06:50 1.24.2.2
***************
*** 11,15 ****
function rcs_id($id) { echo "<!-- $id -->\n"; };
}
! rcs_id('$Id$');
// end essential internal stuff
--- 11,15 ----
function rcs_id($id) { echo "<!-- $id -->\n"; };
}
! rcs_id('$Id$');
// end essential internal stuff
***************
*** 190,193 ****
--- 190,194 ----
bindtextdomain ("phpwiki", "./locale");
textdomain ("phpwiki");
+ setlocale("LC_ALL", "");
}
// end of localization function
|