Subteno Code
Brought to you by:
iasok
| File | Date | Author | Commit |
|---|---|---|---|
| img | 2024-09-06 |
|
[9ea766] Initial commit |
| subteno | 2024-09-06 |
|
[495bcc] ready |
| .gitignore | 2024-09-06 |
|
[495bcc] ready |
| LICENSE | 2024-09-06 |
|
[9ea766] Initial commit |
| README.md | 2024-09-06 |
|
[a0e08c] 1 |
define('DB_HOST', 'localhost');
define('DB_USER', 'username_here');
define('DB_PASS', 'password_here');
define('DB_NAME', 'database_name_here');
define('DB_PORT', 3306);
define('DB_PREFIX', 'S_');
<?php require $_SERVER["DOCUMENT_ROOT"] . "/subteno/frontend/chat.php"; ?>
</body>
Subteno::install();
define('BOT_TOKEN', 'bot_token_here');
For security, you need to deny access to the backend folder directly via the Internet, for this, for example, in Nginx
location /subteno/backend/ {
deny all;
}