common.inc.php 815 Bytes
<?php
//基础库key
define('BASEDB_BASEDBNAME_KEY', 'yohoi_beat');
//应用库key
define('BASEDB_APPDBNAME_KEY', 'yohoi_app');

//默认连接数据名配置
define('BASEDB_DEFAULTCONNECT_DBNAME', BASEDB_BASEDBNAME_KEY);
//存储分离注释语句
//存储过程写注释
define('BASEDB_STORE_WRITE_NOTE', " /*{'dbname':'".BASEDB_BASEDBNAME_KEY."', 'state':'write'}*/ ");
//存储过程读注释
define('BASEDB_STORE_READ_NOTE', " /*{'dbname':'".BASEDB_BASEDBNAME_KEY."', 'state':'read'}*/ ");
//sql语句注释
define('BASEDB_SQL_NOTE', " /*{'dbname':'".BASEDB_BASEDBNAME_KEY."'}*/ ");
//基础应用sql语句注释
define('BASEDB_APPDATABASE_SQL_NOTE', " /*{'dbname':'".BASEDB_APPDBNAME_KEY."'}*/ ");
//基础库sql注释
define('BASEDB_BASEDATABASE_SQL_NOTE', " /*{'dbname':'".BASEDB_BASEDBNAME_KEY."'}*/ ");
?>