Add login configuration
parent
82d9103263
commit
b4f4eddd12
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
// Add overrides for config.php into this file
|
||||
|
||||
// IMAP connection string as explained above
|
||||
//$cfg['mail']['default_mailserver']= '{imap.gmail.com:993/imap/ssl}INBOX';
|
||||
// The email address that sends the email
|
||||
//$cfg['mail']['default_groupemail'] = 'support@ryzomcore.org';
|
||||
// Name displayed as sender
|
||||
//$cfg['mail']['default_groupname'] = 'Ryzom Core Support';
|
||||
// Username of the account
|
||||
//$cfg['mail']['default_username'] = 'support@ryzomcore.org';
|
||||
// Password of the account
|
||||
//$cfg['mail']['default_password'] = 'passw0rd';
|
||||
// The host, being used when a mail is sent from a support group: support_groups_name@host
|
||||
//$cfg['mail']['host'] = "ryzomcore.org";
|
||||
|
||||
/* end of file */
|
@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
// This file contains all variables needed by other php scripts
|
||||
|
||||
require_once('../config.php');
|
||||
|
||||
$LogRelativePath = 'logs/';
|
||||
|
||||
// ----------------------------------------------------------------------------------------
|
||||
// Variables for nel database access
|
||||
// ----------------------------------------------------------------------------------------
|
||||
|
||||
if ($cfg['db']['shard']['host'] != $cfg['db']['ring']['host'])
|
||||
throw new Exception("Invalid configuration");
|
||||
|
||||
// where we can find the mysql database
|
||||
$DBHost = $cfg['db']['shard']['host'];
|
||||
$DBUserName = $cfg['db']['shard']['user'];
|
||||
$DBPassword = $cfg['db']['shard']['pass'];
|
||||
$DBName = $cfg['db']['shard']['name'];
|
||||
|
||||
$RingDBUserName = $cfg['db']['ring']['user'];
|
||||
$RingDBPassword = $cfg['db']['ring']['pass'];
|
||||
$RingDBName = $cfg['db']['ring']['name'];
|
||||
|
||||
// If true, the server will add automatically unknown user in the database
|
||||
// (in nel.user, nel.permission, ring.ring_user and ring.characters
|
||||
$AcceptUnknownUser = $ALLOW_UNKNOWN;
|
||||
// If true, the login service automaticaly create a ring user and a editor character if needed
|
||||
$AutoCreateRingInfo = $CREATE_RING;
|
||||
|
||||
?>
|
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
|
||||
// Increment whenever a web upgrade is required.
|
||||
$NEL_SETUP_VERSION = 2;
|
||||
|
||||
/* end of file */
|
@ -1,27 +0,0 @@
|
||||
<?php
|
||||
|
||||
// This file contains all variables needed by other php scripts
|
||||
|
||||
$LogRelativePath = 'logs/';
|
||||
|
||||
// ----------------------------------------------------------------------------------------
|
||||
// Variables for nel database access
|
||||
// ----------------------------------------------------------------------------------------
|
||||
|
||||
// where we can find the mysql database
|
||||
$DBHost = "localhost";
|
||||
$DBUserName = "shard";
|
||||
$DBPassword = "";
|
||||
$DBName = "nel";
|
||||
|
||||
$RingDBUserName = "shard";
|
||||
$RingDBName = "ring_open";
|
||||
$RingDBPassword = "";
|
||||
|
||||
// If true, the server will add automatically unknown user in the database
|
||||
// (in nel.user, nel.permission, ring.ring_user and ring.characters
|
||||
$AcceptUnknownUser = false;
|
||||
// if true, the login service automaticaly create a ring user and a editor character if needed
|
||||
$AutoCreateRingInfo = true;
|
||||
|
||||
?>
|
Loading…
Reference in New Issue