From: Lo?c C. <lo...@us...> - 2001-04-04 16:24:28
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib In directory usw-pr-cvs1:/tmp/cvs-serv5649/lib Modified Files: upgrades.lib.php3 Log Message: Fix some slash problems Index: upgrades.lib.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/upgrades.lib.php3,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** upgrades.lib.php3 2001/04/03 20:17:40 1.1 --- upgrades.lib.php3 2001/04/04 16:24:24 1.2 *************** *** 26,29 **** --- 26,32 ---- /** * Updates the names of the cookies + * + * The 'pmcHandleMagicQuotes()' function is defined in the + * 'chat/lib/common.lib.php3' script. */ // If cookies haven't already been updated, do the work *************** *** 42,46 **** $oldCookies['CookieNotify'] = $CookieNotify; if (isset($CookieRoom)) ! $oldCookies['CookieRoom'] = $CookieRoom; if (isset($CookieRoomType)) $oldCookies['CookieRoomType'] = $CookieRoomType; --- 45,49 ---- $oldCookies['CookieNotify'] = $CookieNotify; if (isset($CookieRoom)) ! $oldCookies['CookieRoom'] = pmcHandleMagicQuotes($CookieRoom, '1', '', 'del'); if (isset($CookieRoomType)) $oldCookies['CookieRoomType'] = $CookieRoomType; *************** *** 48,52 **** $oldCookies['CookieShowTimestamp'] = $CookieShowTimestamp; if (isset($CookieUsername)) ! $oldCookies['CookieUsername'] = $CookieUsername; // Defines the new cookies (they will expire in one year) and kills the --- 51,55 ---- $oldCookies['CookieShowTimestamp'] = $CookieShowTimestamp; if (isset($CookieUsername)) ! $oldCookies['CookieUsername'] = pmcHandleMagicQuotes($CookieUsername, '1', '', 'del'); // Defines the new cookies (they will expire in one year) and kills the |