diff --git a/.github/workflows/upload.yml b/.github/workflows/upload.yml index 914c6086..45816f88 100644 --- a/.github/workflows/upload.yml +++ b/.github/workflows/upload.yml @@ -29,6 +29,7 @@ jobs: - name: Replace database config values run: | sed -i "s/your_database_host/${{ secrets.SQL_HOST }}/g" inc/config.php + sed -i "s/your_database_port/${{ secrets.SQL_PORT }}/g" inc/config.php sed -i "s/your_database_username/${{ secrets.SQL_USER }}/g" inc/config.php sed -i "s/your_database_password/${{ secrets.SQL_PASS }}/g" inc/config.php sed -i "s/your_database_name/${{ secrets.SQL_DATABASE }}/g" inc/config.php diff --git a/inc/config.php b/inc/config.php index 1340ec3d..2bb853a6 100644 --- a/inc/config.php +++ b/inc/config.php @@ -6,7 +6,7 @@ /* Database Config */ $db_host = 'your_database_host'; // DB Hostame -$db_port = 3306; // DB Port (Default: 3306) +$db_port = your_database_port; // DB Port (Default: 3306) $db_username = 'your_database_username'; // DB Username $db_password = 'your_database_password'; // DB Password $db_database = 'your_database_name'; // DB Database @@ -66,4 +66,4 @@ $settings_player_flags = TRUE; // Default: TRUE - To disable player flags change to FALSE $settings_maps_download_url = ''; // To disable remain empty EXAMPLE: http://example.com/maps/ -/* End of General Settings */ \ No newline at end of file +/* End of General Settings */