[Phpfreechat-svn] SF.net SVN: phpfreechat: [1228] trunk/index.php
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2008-03-23 20:08:56
|
Revision: 1228 http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1228&view=rev Author: kerphi Date: 2008-03-23 13:09:00 -0700 (Sun, 23 Mar 2008) Log Message: ----------- add a warning Modified Paths: -------------- trunk/index.php Modified: trunk/index.php =================================================================== --- trunk/index.php 2008-03-23 20:07:12 UTC (rev 1227) +++ trunk/index.php 2008-03-23 20:09:00 UTC (rev 1228) @@ -4,7 +4,7 @@ $params = array(); $params["title"] = "Quick chat"; $params["nick"] = "guest".rand(1,1000); // setup the intitial nickname -$params["isadmin"] = true; // just for debug ;) +$params["isadmin"] = true; // do not use it on production servers ;) $params["serverid"] = md5(__FILE__); // calculate a unique id for this chat //$params["debug"] = true; $chat = new phpFreeChat( $params ); @@ -110,6 +110,7 @@ <div class="content"> <?php $chat->printChat(); ?> + <p style="color:red;font-weight:bold;">Warning: because of "isadmin" parameter, everybody is admin. Please modify this script before using it on production servers !</p> </div> </body></html> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |