mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-23 08:15:14 +00:00
24 lines
No EOL
536 B
PHP
24 lines
No EOL
536 B
PHP
<?php
|
|
/*
|
|
* @package AJAX_Chat
|
|
* @author Sebastian Tschan
|
|
* @copyright (c) Sebastian Tschan
|
|
* @license Modified MIT License
|
|
* @link https://blueimp.net/ajax/
|
|
*/
|
|
|
|
// Suppress errors.
|
|
error_reporting(0);
|
|
|
|
// Path to the chat directory:
|
|
define('AJAX_CHAT_PATH', dirname($_SERVER['SCRIPT_FILENAME']).'/');
|
|
|
|
// Include custom libraries and initialization code:
|
|
require(AJAX_CHAT_PATH.'lib/custom.php');
|
|
|
|
// Include Class libraries:
|
|
require(AJAX_CHAT_PATH.'lib/classes.php');
|
|
|
|
// Initialize the chat:
|
|
$ajaxChat = new CustomAJAXChat();
|
|
?>
|