Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

102 řádky
3.3 KiB
PHP

<?php
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
// Settings for the app.
// Copy to settings.php and customize.
$SETTINGS = [
// Whether to output debugging info like PHP notices, warnings,
// and stacktraces.
// Turning this on in production is a security risk and can sometimes break
// things, such as JSON output where extra content is not expected.
"debug" => false,
// Database connection settings
// See http://medoo.in/api/new for info
"database" => [
"type" => "mysql",
"name" => "terranquest",
"server" => "localhost",
"user" => "terranquest",
"password" => "",
"charset" => "utf8"
],
// Name of the app.
"site_title" => "TerranQuest Server",
// Settings for connecting to the AccountHub server.
"accounthub" => [
// URL for the API endpoint
"api" => "http://localhost/accounthub/api/",
// URL of the home page
"home" => "http://localhost/accounthub/home.php",
// API key
"key" => "123"
],
// Minimum game version to allow
"minimum_client_version" => "2.0.0",
// Settings for Point of Interest server to get place data from
// https://source.netsyms.com/Netsyms/PointsOfInterestAPI
"poi" => [
"server" => "https://maps.netsyms.net/poi/",
// Location categories/types to filter to with argument type=X
"categories" => [
"AMENITY_LIBRARY",
"AMENITY_POLICE",
"AMENITY_PLAYGROUND",
"AMENITY_PUBLICBUILDING",
"AMENITY_TOWNHALL",
"EDUCATION_COLLEGE",
"EDUCATION_SCHOOL",
"EDUCATION_UNIVERSITY",
"POW_BAHAI",
"POW_BUDDHIST",
"POW_CHRISTIAN",
"POW_HINDU",
"POW_ISLAMIC",
"POW_JAIN",
"POW_JEWISH",
"POW_SHINTO",
"POW_SIKH",
"POW_UNKOWN",
"POI_PEAK1",
"POI_PEAK",
"POI_TOWERLOOKOUT",
"TOURIST_CASTLE",
"TOURIST_FOUNTAIN",
"TOURIST_MEMORIAL",
"TOURIST_MONUMENT",
"TOURIST_RUINS",
"TOURIST_WINDMILL",
"WATER_TOWER"
]
],
"munzee" => [
"id" => "",
"secret" => "",
"redirecturl" => "https://gs.terranquest.net/munzee.php"
],
// List of required user permissions to access this app.
"permissions" => [
],
// List of permissions required for API access. Remove to use the value of
// "permissions" instead.
"api_permissions" => [
],
// For supported values, see http://php.net/manual/en/timezones.php
"timezone" => "America/Denver",
// Language to use for localization. See langs folder to add a language.
"language" => "en",
// Shown in the footer of all the pages.
"footer_text" => "",
// Also shown in the footer, but with "Copyright <current_year>" in front.
"copyright" => "Netsyms Technologies",
// Base URL for building links relative to the location of the app.
// Only used when there's no good context for the path.
// The default is almost definitely fine.
"url" => "."
];