2013-06-06 06:04:46 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
// This file contains all variables needed by other php scripts
|
|
|
|
// ----------------------------------------------------------------------------------------
|
|
|
|
// Variables for database access
|
|
|
|
// ----------------------------------------------------------------------------------------
|
|
|
|
// where we can find the mysql database
|
2013-06-26 01:26:25 +00:00
|
|
|
//-----------------------------------------------------------------------------------------
|
2013-06-19 23:02:27 +00:00
|
|
|
|
2013-06-26 01:26:25 +00:00
|
|
|
//the www db
|
2013-06-19 23:02:27 +00:00
|
|
|
$WEBDBHOST = 'localhost';
|
|
|
|
$WEBDBPORT = '3306';
|
|
|
|
$WEBDBNAME = 'ryzom_ams';
|
2013-06-26 01:26:25 +00:00
|
|
|
$WEBDBUSERNAME = 'root';
|
2013-07-01 10:01:54 +00:00
|
|
|
$WEBDBPASSWORD = '' ;
|
2013-06-26 01:26:25 +00:00
|
|
|
|
|
|
|
//the ams_lib db
|
|
|
|
$LIBDBHOST = 'localhost';
|
|
|
|
$LIBDBPORT = '3306';
|
|
|
|
$LIBDBNAME = 'ryzom_ams_lib';
|
|
|
|
$LIBDBUSERNAME = 'root';
|
2013-07-01 10:01:54 +00:00
|
|
|
$LIBDBPASSWORD = '' ;
|
2013-06-26 01:26:25 +00:00
|
|
|
|
|
|
|
//the shard db
|
2013-06-19 23:02:27 +00:00
|
|
|
$SHARDDBHOST = 'localhost' ;
|
|
|
|
$SHARDDBPORT = '3306';
|
|
|
|
$SHARDDBNAME = 'nel' ;
|
|
|
|
$SHARDDBUSERNAME = 'shard' ;
|
|
|
|
$SHARDDBPASSWORD = '' ;
|
|
|
|
|
2013-06-26 01:26:25 +00:00
|
|
|
//-----------------------------------------------------------------------------------------
|
2013-06-06 06:04:46 +00:00
|
|
|
// If true= the server will add automatically unknown user in the database
|
|
|
|
// (in nel.user= nel.permission= ring.ring_user and ring.characters
|
|
|
|
$ALLOW_UNKNOWN = true ;
|
|
|
|
// if true= the login service automaticaly create a ring user and a editor character if needed
|
|
|
|
$CREATE_RING = true ;
|
|
|
|
|
|
|
|
// site paths definitions
|
2013-06-10 11:17:55 +00:00
|
|
|
$AMS_LIB = dirname( dirname( __FILE__ ) ) . '/ams_lib';
|
2013-06-07 05:59:11 +00:00
|
|
|
$AMS_TRANS = $AMS_LIB . '/translations';
|
|
|
|
$AMS_CACHEDIR = $AMS_LIB . '/cache';
|
|
|
|
|
2013-06-10 11:17:55 +00:00
|
|
|
$DEFAULT_LANGUAGE = 'en';
|
2013-06-15 14:01:11 +00:00
|
|
|
|
|
|
|
$SITEBASE = dirname( __FILE__ ) . '/html/' ;
|