dev/patrick #1
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
|
|
||||||
// Reads Environment Configfile
|
// Reads Environment Configfile
|
||||||
$envFile = __DIR__ . '/../.env';
|
$envFile = __DIR__ . '/../../.env';
|
||||||
if (file_exists($envFile)) {
|
if (file_exists($envFile)) {
|
||||||
$lines = file($envFile, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
|
$lines = file($envFile, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
|
||||||
foreach ($lines as $line) {
|
foreach ($lines as $line) {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
// Renders Leaflet Map Interface including Leaflet Plugins
|
// Renders Leaflet Map Interface including Leaflet Plugins
|
||||||
// =====================================================================
|
// =====================================================================
|
||||||
|
|
||||||
require_once __DIR__ . '/../api/db.php';
|
require_once __DIR__ . '/api/db.php';
|
||||||
|
|
||||||
// -----------------------------------------------------------------
|
// -----------------------------------------------------------------
|
||||||
// Loads Municipality Configuration
|
// Loads Municipality Configuration
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
// =====================================================================
|
// =====================================================================
|
||||||
|
|
||||||
// API Endpoint as relative Path
|
// API Endpoint as relative Path
|
||||||
var API_URL = '../api/contributions.php';
|
var API_URL = 'api/contributions.php';
|
||||||
|
|
||||||
// Current User Name, set via Login Modal, stored in sessionStorage
|
// Current User Name, set via Login Modal, stored in sessionStorage
|
||||||
var currentUser = sessionStorage.getItem('webgis_user') || '';
|
var currentUser = sessionStorage.getItem('webgis_user') || '';
|
||||||
|
|||||||
Reference in New Issue
Block a user