Beispiel #1
0
 function getDefaultConfig()
 {
     $cfg = pfcContainerInterface::getDefaultConfig();
     $cfg["chat_dir"] = '';
     // will be generated from the other parameters into the init step
     $cfg["server_dir"] = '';
     // will be generated from the other parameters into the init step
     return $cfg;
 }
Beispiel #2
0
 function getDefaultConfig()
 {
     $cfg = pfcContainerInterface::getDefaultConfig();
     $cfg["oracle_host"] = 'localhost';
     $cfg["oracle_port"] = 1521;
     $cfg["oracle_database"] = 'XE';
     $cfg["oracle_table"] = 'phpfreechat';
     $cfg["oracle_username"] = '******';
     $cfg["oracle_password"] = '******';
     return $cfg;
 }
Beispiel #3
0
 function getDefaultConfig()
 {
     $cfg = pfcContainerInterface::getDefaultConfig();
     $cfg["mysql_host"] = 'localhost';
     $cfg["mysql_port"] = 3306;
     $cfg["mysql_database"] = 'phpfreechat';
     $cfg["mysql_table"] = 'phpfreechat';
     $cfg["mysql_username"] = '******';
     $cfg["mysql_password"] = '';
     // advanced parameters (don't touch if you don't know what your are doing)
     $cfg["mysql_fieldtype_server"] = 'varchar(32)';
     $cfg["mysql_fieldtype_group"] = 'varchar(64)';
     $cfg["mysql_fieldtype_subgroup"] = 'varchar(128)';
     $cfg["mysql_fieldtype_leaf"] = 'varchar(128)';
     $cfg["mysql_fieldtype_leafvalue"] = 'text';
     $cfg["mysql_fieldtype_timestamp"] = 'int(11)';
     $cfg["mysql_engine"] = 'InnoDB';
     return $cfg;
 }