User Tools

Site Tools


database.php

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
database.php [2025/03/31 01:08] blackcorsairdatabase.php [2025/03/31 01:42] (current) blackcorsair
Line 1: Line 1:
-====== Understanding What is database.php file: ====== +====== Understanding What is "/system/database.phpfile: ======
  
 ---- ----
-{{:database.jpg|}} + 
-====== /system/database.php ======+==== Chat settings==== 
 +<code> 
 +define('BOOM_PREFIX', 'tc_'); 
 +define('BOOM_DOMAIN', '');  
 +</code> 
 + 
 +==== Redis server setup: ==== 
 +<code> 
 +define('REDIS_IP', '127.0.0.1');  
 +define('REDIS_PORT', 6379);  
 +define('REDIS_TIMEOUT', 0.2);  
 +define('REDIS_PASS', '');  
 +</code> 
 + 
 +==== Codychat database setup: ==== 
 +<code> 
 +define('BOOM_DHOST', 'localhost'); 
 +define('BOOM_DUSER', 'root'); 
 +define('BOOM_DPASS', 'mypasswd'); 
 +define('BOOM_DNAME', 'codychat'); 
 +</code> 
 + 
 +====Chat absolute route: ==== 
 +<code> 
 +define('BOOM_PATH', dirname(__DIR__)); 
 +</code> 
 + 
 +====Chat Encryptation key used for passwords, if you change this value nobody will be able to login: ==== 
 +<code> 
 +define('BOOM_CRYPT', 'B79d1-abe28d92fc2daOc5-4b1a-0O65be71Mcc'); 
 +</code> 
 + 
 + 
 +====Chat install state 1=Installed, 0=Not installed: ==== 
 +<code> 
 +define('BOOM_INSTALL', 1); 
 +define('BOOM', 1); 
 +</code>
  
  
database.php.1743383309.txt.gz · Last modified: 2025/03/31 01:08 by blackcorsair

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki