From: Lo?c C. <lo...@us...> - 2001-04-10 14:19:50
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs In directory usw-pr-cvs1:/tmp/cvs-serv3092/chat/lib/index_libs Modified Files: main_index.lib.php3 Log Message: Rename the 'dbSessionInitIt()' method to 'dbSessionInit()' Index: main_index.lib.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs/main_index.lib.php3,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** main_index.lib.php3 2001/04/08 18:24:05 1.6 --- main_index.lib.php3 2001/04/10 14:19:48 1.7 *************** *** 88,98 **** */ require('./' . _CHAT_PATH . 'lib/db_sessions.lib.' . C_EXTENSION); ! dbSessionInitIt( C_DB_TYPE, ! C_DB_HOST, C_DB_NAME, ! C_DB_USER, C_DB_PASS, ! C_SESS_TBL, ! C_SESS_DEL * 60, ! '' ! ); dbSessionstart(); --- 88,98 ---- */ require('./' . _CHAT_PATH . 'lib/db_sessions.lib.' . C_EXTENSION); ! dbSessionInit( C_DB_TYPE, ! C_DB_HOST, C_DB_NAME, ! C_DB_USER, C_DB_PASS, ! C_SESS_TBL, ! C_SESS_DEL * 60, ! '' ! ); dbSessionstart(); *************** *** 355,360 **** $error = pmcValidateRoomCreation($regUserPerms, $regUserModeratedRooms); } // end of the validation of room creation - /** * Enters the chat --- 355,360 ---- $error = pmcValidateRoomCreation($regUserPerms, $regUserModeratedRooms); } // end of the validation of room creation + /** * Enters the chat *************** *** 486,490 **** global $pmcQueryArgSeparator; global $dbSessionVars; ! // Try to get some data from session or cookies if (dbSessionIsRegistered('nick')) --- 486,490 ---- global $pmcQueryArgSeparator; global $dbSessionVars; ! // Try to get some data from session or cookies if (dbSessionIsRegistered('nick')) *************** *** 494,498 **** else $layoutNick = ''; ! if (dbSessionIsRegistered('currentRoom')) $layoutRoom = $dbSessionVars['currentRoom']; --- 494,498 ---- else $layoutNick = ''; ! if (dbSessionIsRegistered('currentRoom')) $layoutRoom = $dbSessionVars['currentRoom']; *************** *** 513,517 **** <td class="chatBody"> <center> ! <!-- Title and messages --> <span class="chatTitle"><?php echo(APP_NAME . ' ' . APP_VERSION); ?></span> --- 513,517 ---- <td class="chatBody"> <center> ! <!-- Title and messages --> <span class="chatTitle"><?php echo(APP_NAME . ' ' . APP_VERSION); ?></span> *************** *** 615,619 **** // Horizontal alignement for cells topic $cellAlign = (L_CHARSET == 'windows-1256') ? 'left' : 'right'; ! echo("\n"); ?> --- 615,619 ---- // Horizontal alignement for cells topic $cellAlign = (L_CHARSET == 'windows-1256') ? 'left' : 'right'; ! echo("\n"); ?> *************** *** 670,674 **** <?php } ! echo("\n"); ?> --- 670,674 ---- <?php } ! echo("\n"); ?> |