mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-08 00:34:42 +03:00
Move some constants from libs/chat.php to libs/common/constants.php
This commit is contained in:
parent
c92e0096dd
commit
cb3e2ea468
@ -22,12 +22,6 @@ use Mibew\Thread;
|
||||
use Mibew\Style\ChatStyle;
|
||||
use Mibew\Style\PageStyle;
|
||||
|
||||
/**
|
||||
* Names for chat-related cookies
|
||||
*/
|
||||
define('USERID_COOKIE_NAME', 'MIBEW_UserID');
|
||||
define('USERNAME_COOKIE_NAME', 'MIBEW_Data');
|
||||
|
||||
function message_to_text($msg)
|
||||
{
|
||||
$message_time = date("H:i:s ", $msg['created']);
|
||||
|
@ -54,3 +54,9 @@ define('VISITOR_COOKIE_NAME', 'MIBEW_VisitorID');
|
||||
* Internal system encoding
|
||||
*/
|
||||
define('MIBEW_ENCODING', $mibew_encoding);
|
||||
|
||||
/**
|
||||
* Names for chat-related cookies
|
||||
*/
|
||||
define('USERID_COOKIE_NAME', 'MIBEW_UserID');
|
||||
define('USERNAME_COOKIE_NAME', 'MIBEW_Data');
|
||||
|
Loading…
Reference in New Issue
Block a user