Moved api backend to main website
This commit is contained in:
@@ -4,18 +4,15 @@
|
||||
error_reporting(0); // disable error reporting in browser
|
||||
define('SEND_ERRORS', true); // send errors via log
|
||||
|
||||
define('BOATCLASS', 'pirat');
|
||||
|
||||
date_default_timezone_set('Europe/Berlin');
|
||||
define('SERVER_PATH', '/subfolder'); // path to root directory
|
||||
define('SERVER_ADDR', 'https://' . $_SERVER['SERVER_NAME'] . SERVER_PATH); // path to root directory
|
||||
define('QUERY_URL', 'http://' . $_SERVER['SERVER_NAME'] . '/api/' . BOATCLASS . '/'); // url to api backend
|
||||
define('LOGGING_APIKEY', 'xxx'); // Apikey for Logging API -> get from ostertun.net/logging
|
||||
|
||||
// PUSH SERVER
|
||||
define('PUSH_AUTH', 'xxxxxxx'); // auth string for push.ostertun.net
|
||||
define('PUSH_SERVERKEY', 'xxxxxxx'); // server key from push.ostertun.net
|
||||
|
||||
define('BOATCLASS', 'pirat');
|
||||
|
||||
// BOAT CLASSES
|
||||
// BOAT CLASS
|
||||
$_CLASS = array(
|
||||
'name' => 'Pirat',
|
||||
'desc' => 'eine vom DSV geförderte Jugendmeisterschaftsklasse',
|
||||
|
||||
Reference in New Issue
Block a user