|
From: Lo?c C. <lo...@us...> - 2001-04-13 12:52:34
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/commands In directory usw-pr-cvs1:/tmp/cvs-serv15451/chat/lib/commands Added Files: img.cmd.php3 Log Message: The new 'img' command and some modif. it requires --- NEW FILE --- <?php // // +--------------------------------------------------------------------------+ // | phpMyChat version 0.15.0 | // +--------------------------------------------------------------------------+ // | Copyright (c) 2000-2001 The phpHeaven-team | // +--------------------------------------------------------------------------+ // | This library does the work associated to the 'img' command. | // | | // | It is called by the 'commands.lib.php3' script. | // +--------------------------------------------------------------------------+ // | From the phpMyChat project: | // | http://www.phpheaven.net/projects/phpMyChat/ | // | | // | Authors: the phpHeaven-team <php...@ya...> | // +--------------------------------------------------------------------------+ // // $Id: img.cmd.php3,v 1.1 2001/04/13 12:52:29 loic1 Exp $ // // The work for the 'img' command. // /** * Just modify some variables */ $dbSessionVars['msgKind'] = ($dbSessionVars['msgKind'] == 'original') ? 'enhanced' : 'original'; // cookie expires in one year setcookie('cookieMsgKind', $dbSessionVars['msgKind'], time() + 60*60*24*365); $isCommand = true; $enforceFirstLoad = 1; $doRefreshMessages = true; ?> |