45 lines
1.5 KiB
PHP
45 lines
1.5 KiB
PHP
<?php
|
|
|
|
// This file contains all variables needed by other php scripts
|
|
// ----------------------------------------------------------------------------------------
|
|
// Variables for database access
|
|
// ----------------------------------------------------------------------------------------
|
|
// where we can find the mysql database
|
|
//-----------------------------------------------------------------------------------------
|
|
|
|
//the www db
|
|
$WEBDBHOST = 'localhost';
|
|
$WEBDBPORT = '3306';
|
|
$WEBDBNAME = 'ryzom_ams';
|
|
$WEBDBUSERNAME = 'root';
|
|
$WEBDBPASSWORD = 'lol123' ;
|
|
|
|
//the ams_lib db
|
|
$LIBDBHOST = 'localhost';
|
|
$LIBDBPORT = '3306';
|
|
$LIBDBNAME = 'ryzom_ams_lib';
|
|
$LIBDBUSERNAME = 'root';
|
|
$LIBDBPASSWORD = 'lol123' ;
|
|
|
|
//the shard db
|
|
$SHARDDBHOST = 'localhost' ;
|
|
$SHARDDBPORT = '3306';
|
|
$SHARDDBNAME = 'nel' ;
|
|
$SHARDDBUSERNAME = 'shard' ;
|
|
$SHARDDBPASSWORD = '' ;
|
|
|
|
//-----------------------------------------------------------------------------------------
|
|
// 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
|
|
$AMS_LIB = dirname( dirname( __FILE__ ) ) . '/ams_lib';
|
|
$AMS_TRANS = $AMS_LIB . '/translations';
|
|
$AMS_CACHEDIR = $AMS_LIB . '/cache';
|
|
|
|
$DEFAULT_LANGUAGE = 'en';
|
|
|
|
$SITEBASE = dirname( __FILE__ ) . '/html/' ;
|