PHP Classes
elePHPant
Icontem

File: includes/config.php

Recommend this page to a friend!
  Classes of Johnny Mast  >  PHP MySQL Websocket Chat  >  includes/config.php  >  Download  
File: includes/config.php
Role: Configuration script
Content type: text/plain
Description: Configuration script
Class: PHP MySQL Websocket Chat
Websocket chat that stores messages in MySQL
Author: By
Last change: Release 1.3 commit on master.
Date: 1 year ago
Size: 445 bytes
 

 

Contents

Class file image Download
<?php
date_default_timezone_set
('EUROPE/AMSTERDAM');

define ('DATABASE_HOST', 'localhost');
define ('DATABASE_USERNAME', 'root');
define ('DATABASE_PASSWORD', 'root');
define ('DATABASE_DB', 'socket_chat');
define ('ENABLE_DATABASE', false);

/**
 * The host can either be an IP or a hostname
 * on this machine. The port is just the port
 * plain and simple.
 */
define('CHAT_SERVER_HOST', '127.0.0.1');
define('CHAT_SERVER_PORT', '8080');