mirror of
https://github.com/zhang-pu/tblog.git
synced 2026-10-02 15:49:29 +08:00
18 lines
No EOL
461 B
Text
18 lines
No EOL
461 B
Text
<?php
|
|
/**
|
|
* TBlog - Configuration Template
|
|
* 复制此文件为 config.php 并填写数据库信息
|
|
*/
|
|
define('DB_HOST', 'localhost');
|
|
define('DB_PORT', 3306);
|
|
define('DB_USER', 'your_db_user');
|
|
define('DB_PASS', 'your_db_password');
|
|
define('DB_NAME', 'tblog');
|
|
define('DB_PREFIX', '');
|
|
|
|
// Path constants
|
|
define('ROOT_PATH', __DIR__ . '/');
|
|
define('INCLUDE_PATH', ROOT_PATH . 'include/');
|
|
define('TEMPLATE_PATH', ROOT_PATH . 'templates/');
|
|
|
|
session_start(); |