|
From: Lo?c C. <lo...@us...> - 2001-05-31 19:57:07
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat
In directory usw-pr-cvs1:/tmp/cvs-serv5563/chat
Modified Files:
smilies_popup.php3 help_popup.php3
Log Message:
Improved security
Index: smilies_popup.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/smilies_popup.php3,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** smilies_popup.php3 2001/05/07 21:12:43 1.2
--- smilies_popup.php3 2001/05/31 19:57:05 1.3
***************
*** 47,51 ****
* Defines the language to be used
*/
! if (!file_exists('./localization/' . $lang . '/chat.loc'))
{
?>
--- 47,52 ----
* Defines the language to be used
*/
! if (!is_dir('./localization/' . $lang)
! || !file_exists('./localization/' . $lang . '/chat.loc'))
{
?>
Index: help_popup.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/help_popup.php3,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** help_popup.php3 2001/04/30 22:44:58 1.14
--- help_popup.php3 2001/05/31 19:57:05 1.15
***************
*** 47,51 ****
* Defines the language to be used
*/
! if (!file_exists('./localization/' . $lang . '/chat.loc'))
{
?>
--- 47,52 ----
* Defines the language to be used
*/
! if (!is_dir('./localization/' . $lang)
! || !file_exists('./localization/' . $lang . '/chat.loc'))
{
?>
|