mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-24 15:56:22 +00:00
90 lines
3.8 KiB
PHP
90 lines
3.8 KiB
PHP
<?php
|
|
|
|
// This file contains all variables needed by other php scripts
|
|
// ----------------------------------------------------------------------------------------
|
|
// Variables for database access
|
|
// ----------------------------------------------------------------------------------------
|
|
// where we can find the mysql database
|
|
//-----------------------------------------------------------------------------------------
|
|
|
|
$cfg['db']['web']['host'] = 'localhost';
|
|
$cfg['db']['web']['port'] = '3306';
|
|
$cfg['db']['web']['name'] = 'ryzom_ams';
|
|
$cfg['db']['web']['user'] = 'shard';
|
|
$cfg['db']['web']['pass'] = '';
|
|
|
|
$cfg['db']['lib']['host'] = 'localhost';
|
|
$cfg['db']['lib']['port'] = '3306';
|
|
$cfg['db']['lib']['name'] = 'ryzom_ams_lib';
|
|
$cfg['db']['lib']['user'] = 'shard';
|
|
$cfg['db']['lib']['pass'] = '';
|
|
|
|
$cfg['db']['shard']['host'] = 'localhost';
|
|
$cfg['db']['shard']['port'] = '3306';
|
|
$cfg['db']['shard']['name'] = 'nel';
|
|
$cfg['db']['shard']['user'] = 'shard';
|
|
$cfg['db']['shard']['pass'] = '';
|
|
|
|
$cfg['db']['ring']['host'] = 'localhost';
|
|
$cfg['db']['ring']['port'] = '3306';
|
|
$cfg['db']['ring']['name'] = 'ring_open';
|
|
$cfg['db']['ring']['user'] = 'shard';
|
|
$cfg['db']['ring']['pass'] = '';
|
|
|
|
// To connect to an IMAP server running on port 143 on the local machine,
|
|
// do the following: $mbox = imap_open("{localhost:143}INBOX", "user_id", "password");
|
|
// POP3 server on port 110: $mbox = imap_open ("{localhost:110/pop3}INBOX", "user_id", "password");
|
|
// SSL IMAP or POP3 server, add /ssl after the protocol: $mbox = imap_open ("{localhost:993/imap/ssl}INBOX", "user_id", "password");
|
|
// To connect to an SSL IMAP or POP3 server with a self-signed certificate,
|
|
// add /ssl/novalidate-cert after the protocol specification:
|
|
// $mbox = imap_open ("{localhost:995/pop3/ssl/novalidate-cert}", "user_id", "password");
|
|
// NNTP server on port 119 use: $nntp = imap_open ("{localhost:119/nntp}comp.test", "", "");
|
|
// To connect to a remote server replace "localhost" with the name or the IP address of the server you want to connect to.
|
|
//$cfg['mail']['server'] = '{localhost:110/pop3/novalidate-cert}INBOX';
|
|
$cfg['mail']['default_mailserver']= '{imap.gmail.com:993/imap/ssl}INBOX';
|
|
$cfg['mail']['default_groupemail'] = 'amsryzom@gmail.com';
|
|
$cfg['mail']['default_groupname'] = 'Ryzomcore Support';
|
|
$cfg['mail']['default_username'] = 'amsryzom@gmail.com';
|
|
$cfg['mail']['default_password'] = 'lol123bol';
|
|
$cfg['mail']['host'] = "ryzomcore.com";
|
|
|
|
//Defines mailing related stuff
|
|
$SUPPORT_GROUP_IMAP_CRYPTKEY = "azerty";
|
|
$TICKET_MAILING_SUPPORT = true;
|
|
|
|
//You have to create this dir at first!
|
|
$MAIL_DIR = "/tmp/mail";
|
|
|
|
$MAIL_LOG_PATH = "/tmp/mail/cron_mail.log";
|
|
|
|
$cfg['crypt']['key'] = 'Sup3rS3cr3tStuff';
|
|
$cfg['crypt']['enc_method'] = 'AES-256-CBC';
|
|
$cfg['crypt']['hash_method'] = "SHA512";
|
|
|
|
//-----------------------------------------------------------------------------------------
|
|
// 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';
|
|
$SITEBASE = dirname( __FILE__ ) . '/html/' ;
|
|
$WEBPATH ='http://localhost:40917' ;
|
|
|
|
//defines the default language
|
|
$DEFAULT_LANGUAGE = 'en';
|
|
|
|
//defines if logging actions should happen or not.
|
|
$TICKET_LOGGING = true;
|
|
|
|
//defines the time format display
|
|
$TIME_FORMAT = "m-d-Y H:i:s";
|
|
|
|
//defines which ingame layout template should be used
|
|
$INGAME_LAYOUT = "basic";
|
|
|
|
|