flash.moe/public/chat/index.php

25 lines
578 B
PHP
Raw Normal View History

2020-08-20 00:02:37 +00:00
<?php
/*
* @package AJAX_Chat
* @author Sebastian Tschan
* @copyright (c) Sebastian Tschan
* @license GNU Affero General Public License
* @link https://blueimp.net/ajax/
*/
// Show all errors:
ini_set('display_errors', 'On');
error_reporting(-1);
// Path to the chat directory:
define('AJAX_CHAT_PATH', dirname($_SERVER['SCRIPT_FILENAME']).'/');
// Include Flashii System stuff:
//require('/var/www/flashii.net/system/core/modules.php');
// Include Class libraries:
require(AJAX_CHAT_PATH.'lib/classes.php');
// Initialize the chat:
$ajaxChat = new CustomAJAXChat();