Simple PHP IRC web client using Ajax calls.

config.php 697B

123456789101112131415161718192021222324
  1. <?php
  2. ///////
  3. // webirc-client - 2013-2020
  4. // (C) Chris Dorman, GPL v3 - (C) Microchat devs
  5. // https://github.com/Pentium44/cwchat
  6. ///////
  7. $title = "CWChat"; // Chat title
  8. $desc = "Chris' Website IRC Chat"; // Chat description
  9. $server = "127.0.0.1"; // IRC server connected to (for information display panel)
  10. $port = "1337"; // IRC server port (for information display panel)
  11. $server_msgcount = "80"; // Number of messages to leave at the end of the server database
  12. $default_channel = "#theroot";
  13. $logfile = "irclog.txt";
  14. ///// NO TOUCHY SECTION /////
  15. $version = "1.3.0"; // CWChat version
  16. function doLog($string) {
  17. file_put_contents($GLOBALS['logfile'], $string . "\r\n", FILE_APPEND);
  18. }
  19. ?>