You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
458 B
16 lines
458 B
<?php
|
|
//数据库配置
|
|
define("db_config", array(
|
|
"servername" => "mylinux",
|
|
"username" => "sukura",
|
|
"password" => "123456",
|
|
"dbname" => "waste_sorting"
|
|
));
|
|
//默认日期格式
|
|
define("default_format", "Y-m-d H:i:s");
|
|
//根目录
|
|
//define("$_SERVER["DOCUMENT_ROOT"]", dirname(__FILE__));
|
|
|
|
//define("$_SERVER["DOCUMENT_ROOT"]", "D:/JetBrains/PhpstormProjects/WasteSorting");
|
|
|
|
//define("$_SERVER["DOCUMENT_ROOT"]", $_SERVER["DOCUMENT_ROOT"]);
|