Files
PHP/config.example.php
2026-11-27 15:42:12 +08:00

10 lines
411 B
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
// 把本文件复制为 config.local.php,填入你自己的数据库信息。
// config.local.php 已被 .gitignore 排除,不会被提交,也不会泄露到公开仓库。
// 也可以不用这个文件,直接设环境变量 DB_HOST / DB_USER / DB_PASS / DB_NAME。
putenv('DB_HOST=127.0.0.1');
putenv('DB_USER=photo_user');
putenv('DB_PASS=changeme');
putenv('DB_NAME=person_photo');