27 lines
742 B
PHP
Executable File
27 lines
742 B
PHP
Executable File
<?php
|
|
///////
|
|
// IdleIRC - 2020
|
|
// (C) Chris Dorman, GPLv3
|
|
// https://github.com/Pentium44/idleirc
|
|
///////
|
|
|
|
$title = "IdleIRC"; // Chat title
|
|
$desc = "IdleIRC, a simple PHP based IRC client & bouncer."; // Chat description
|
|
$server = "cddo.cf"; // IRC server connected to (for information display panel)
|
|
$port = "1337"; // IRC server port (for information display panel)
|
|
$server_msgcount = "80"; // Number of messages to leave at the end of the server database
|
|
$default_channel = "#theroot";
|
|
$logfile = "irclog.txt";
|
|
|
|
///// WEBCLIENT LAYOUT /////
|
|
$ipcolor = "#00FF00";
|
|
|
|
///// NO TOUCHY SECTION /////
|
|
$version = "1.0.0"; // CWChat version
|
|
|
|
function doLog($string) {
|
|
file_put_contents($GLOBALS['logfile'], $string . "\r\n", FILE_APPEND);
|
|
}
|
|
|
|
?>
|