diff --git a/Procfile b/Procfile index e69de29..f720992 100644 --- a/Procfile +++ b/Procfile @@ -0,0 +1 @@ +web: php -S 0.0.0.0:${PORT:-8080} \ No newline at end of file diff --git a/Web GIS Rumah Ibadah/config.php b/Web GIS Rumah Ibadah/config.php index 236f8d6..a303ace 100644 --- a/Web GIS Rumah Ibadah/config.php +++ b/Web GIS Rumah Ibadah/config.php @@ -11,6 +11,7 @@ define('DB_NAME', getenv('DB_NAME') ?: 'default'); define('DB_USER', getenv('DB_USER') ?: 'mysql'); define('DB_PASS', getenv('DB_PASS') ?: 'tg9lvPlr4hgUhgtT7aPq9XelkCEvvMGtsoV8eB4dD5FAkz891PwkJT340xmaEWxL'); define('DB_CHARSET', 'utf8mb4'); + // Direktori upload foto laporan define('UPLOAD_DIR', __DIR__ . '/uploads/'); diff --git a/index.php b/index.php index d724244..060d35f 100644 --- a/index.php +++ b/index.php @@ -757,7 +757,7 @@ if (!empty($_GET['q'])) { /Web GIS Layer/ - @@ -814,7 +814,7 @@ if (!empty($_GET['q'])) { /Web GIS Rumah Ibadah/ - diff --git a/nixpacks.toml b/nixpacks.toml index e69de29..385aac1 100644 --- a/nixpacks.toml +++ b/nixpacks.toml @@ -0,0 +1,2 @@ +[start] +cmd = "php -S 0.0.0.0:8080" \ No newline at end of file