2012-05-04 10:04:49 +00:00
|
|
|
<?php
|
|
|
|
/* Copyright (C) 2009 Winch Gate Property Limited
|
|
|
|
*
|
|
|
|
* This file is part of ryzom_api.
|
|
|
|
* ryzom_api is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Lesser General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* ryzom_api is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
|
|
* along with ryzom_api. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
2012-05-04 16:33:59 +00:00
|
|
|
|
|
|
|
define('RYAPI_SHARDID', '101');
|
2013-02-15 16:45:33 +00:00
|
|
|
define('RYAPI_DEV_SHARDID', '301');
|
|
|
|
define('RYAPI_DEV_SHARD', 'yubo');
|
2012-05-04 10:04:49 +00:00
|
|
|
define('RYAPI_WEBDB_HOST', 'localhost');
|
|
|
|
define('RYAPI_WEBDB_LOGIN', 'localhost');
|
|
|
|
define('RYAPI_WEBDB_PASS', 'localhost');
|
|
|
|
|
|
|
|
define('RYAPI_NELDB_HOST', 'localhost');
|
|
|
|
define('RYAPI_NELDB_LOGIN', 'shard');
|
|
|
|
define('RYAPI_NELDB_PASS', 'localhost');
|
2013-02-15 16:45:33 +00:00
|
|
|
if ($_GET['shardid'] == RYAPI_DEV_SHARDID || (isset($_SESSION['dev_shard']) && $_SESSION['dev_shard']))
|
|
|
|
define('RYAPI_NELDB_RING', 'ring_dev');
|
|
|
|
else
|
|
|
|
define('RYAPI_NELDB_RING', 'ring_open');
|
|
|
|
define('RYAPI_NELDB_RING_DEV', 'ring_dev');
|
2012-05-04 10:04:49 +00:00
|
|
|
define('RYAPI_NELDB_NEL', 'nel');
|
|
|
|
|
|
|
|
define('RYAPI_AUTH_SCRIPT', '');
|
|
|
|
define('RYAPI_COOKIE_KEY', '');
|
|
|
|
|
2012-10-23 15:44:36 +00:00
|
|
|
define('RYAPI_EGS_SALT', 'RyZoM'); // need be exactly same salt than egs
|
2013-02-15 16:45:33 +00:00
|
|
|
define('RYAPI_HMAGIC_DEBUG', false); // only :DEV: can use debug hmagic commands
|
2012-10-23 15:44:36 +00:00
|
|
|
|
2012-05-04 10:04:49 +00:00
|
|
|
?>
|