diff options
author | friendica <info@friendica.com> | 2014-01-18 23:49:39 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-01-18 23:49:39 -0800 |
commit | 724ad4505628d493b43b4f585512d67dc0b4ee76 (patch) | |
tree | 4fb920a79e3dff961a6301ec56ec9f40e91f6af3 /library/ajaxchat/chat/index.php | |
parent | 3f7032e542e3c451507fc9266ab3536155c8190f (diff) | |
download | volse-hubzilla-724ad4505628d493b43b4f585512d67dc0b4ee76.tar.gz volse-hubzilla-724ad4505628d493b43b4f585512d67dc0b4ee76.tar.bz2 volse-hubzilla-724ad4505628d493b43b4f585512d67dc0b4ee76.zip |
add ajaxchat library - needs a lot of integration work to handle decentralisation (e.g. chatroom@website) and zotid w/permissions (e.g. ACL controlled chatrooms); we can also rip out a lot of stuff we don't need.
Diffstat (limited to 'library/ajaxchat/chat/index.php')
-rw-r--r-- | library/ajaxchat/chat/index.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/library/ajaxchat/chat/index.php b/library/ajaxchat/chat/index.php new file mode 100644 index 000000000..a7e2fd04e --- /dev/null +++ b/library/ajaxchat/chat/index.php @@ -0,0 +1,24 @@ +<?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(); +?>
\ No newline at end of file |