34 lines
1.4 KiB
PHP
34 lines
1.4 KiB
PHP
<?php
|
|
// config/app.php
|
|
|
|
define('APP_NAME', 'SINERGI');
|
|
define('APP_FULL_NAME', 'Sistem Informasi Geografis Penanganan Kemiskinan Berbasis Kolaborasi Rumah Ibadah, Masyarakat, dan Pemerintah Kota Pontianak');
|
|
define('APP_VERSION', '1.0.0');
|
|
define('APP_URL', 'http://localhost/sinergi');
|
|
define('APP_ROOT', dirname(__DIR__));
|
|
define('APP_UPLOAD_DIR', APP_ROOT . '/public/images/uploads/');
|
|
define('APP_UPLOAD_URL', APP_URL . '/public/images/uploads/');
|
|
define('APP_TIMEZONE', 'Asia/Pontianak');
|
|
|
|
// ── Koordinat Kota Pontianak ──────────────────────────────────
|
|
// Pusat kota: Tugu Khatulistiwa area
|
|
define('MAP_DEFAULT_LAT', -0.0263);
|
|
define('MAP_DEFAULT_LNG', 109.3425);
|
|
define('MAP_DEFAULT_ZOOM', 13); // 13 = tampak seluruh kota
|
|
|
|
// Bounding box seluruh Kota Pontianak
|
|
// SW: (-0.115, 109.280) NE: (0.055, 109.420)
|
|
define('MAP_BOUNDS_SW_LAT', -0.115);
|
|
define('MAP_BOUNDS_SW_LNG', 109.280);
|
|
define('MAP_BOUNDS_NE_LAT', 0.055);
|
|
define('MAP_BOUNDS_NE_LNG', 109.420);
|
|
|
|
// ── Konfigurasi Sistem ────────────────────────────────────────
|
|
define('BLIND_SPOT_RADIUS', 500); // meter
|
|
|
|
// Session
|
|
define('SESSION_NAME', 'sinergi_session');
|
|
define('SESSION_LIFETIME', 7200); // 2 jam
|
|
|
|
date_default_timezone_set(APP_TIMEZONE);
|