Add config.asp to gitignore, provide example template
- Remove config.asp from tracking (contains credentials) - Add config.asp.example with placeholder values - Update .gitignore to exclude config.asp 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,5 +1,6 @@
|
|||||||
# Secrets
|
# Secrets
|
||||||
secrets.md
|
secrets.md
|
||||||
|
includes/config.asp
|
||||||
|
|
||||||
# Logs
|
# Logs
|
||||||
logs/
|
logs/
|
||||||
|
|||||||
@@ -17,16 +17,16 @@ Const USE_DSN = False
|
|||||||
|
|
||||||
' DSN configuration (production)
|
' DSN configuration (production)
|
||||||
Const DB_DSN = "shopdb"
|
Const DB_DSN = "shopdb"
|
||||||
Const DB_DSN_USER = "570005354"
|
Const DB_DSN_USER = "YOUR_DB_USER"
|
||||||
Const DB_DSN_PASSWORD = "570005354"
|
Const DB_DSN_PASSWORD = "YOUR_DB_USER"
|
||||||
|
|
||||||
' Direct ODBC configuration (development)
|
' Direct ODBC configuration (development)
|
||||||
Const DB_DRIVER = "MySQL ODBC 9.4 Unicode Driver"
|
Const DB_DRIVER = "MySQL ODBC 9.4 Unicode Driver"
|
||||||
Const DB_SERVER = "192.168.122.1"
|
Const DB_SERVER = "192.168.122.1"
|
||||||
Const DB_PORT = "3306"
|
Const DB_PORT = "3306"
|
||||||
Const DB_NAME = "shopdb"
|
Const DB_NAME = "shopdb"
|
||||||
Const DB_USER = "570005354"
|
Const DB_USER = "YOUR_DB_USER"
|
||||||
Const DB_PASSWORD = "570005354"
|
Const DB_PASSWORD = "YOUR_DB_USER"
|
||||||
|
|
||||||
'-----------------------------------------------------------------------------
|
'-----------------------------------------------------------------------------
|
||||||
' Database Configuration - Employee Database
|
' Database Configuration - Employee Database
|
||||||
@@ -37,7 +37,7 @@ Const USE_EMP_DSN = True
|
|||||||
' DSN configuration (production)
|
' DSN configuration (production)
|
||||||
Const EMP_DB_DSN = "wjf_employees"
|
Const EMP_DB_DSN = "wjf_employees"
|
||||||
Const EMP_DB_DSN_USER = "root"
|
Const EMP_DB_DSN_USER = "root"
|
||||||
Const EMP_DB_DSN_PASSWORD = "WJF11sql"
|
Const EMP_DB_DSN_PASSWORD = "YOUR_EMP_DB_PASSWORD"
|
||||||
|
|
||||||
' Direct ODBC configuration (development) - configure if needed
|
' Direct ODBC configuration (development) - configure if needed
|
||||||
Const EMP_DB_DRIVER = "MySQL ODBC 9.4 Unicode Driver"
|
Const EMP_DB_DRIVER = "MySQL ODBC 9.4 Unicode Driver"
|
||||||
@@ -45,7 +45,7 @@ Const EMP_DB_SERVER = "localhost"
|
|||||||
Const EMP_DB_PORT = "3306"
|
Const EMP_DB_PORT = "3306"
|
||||||
Const EMP_DB_NAME = "wjf_employees"
|
Const EMP_DB_NAME = "wjf_employees"
|
||||||
Const EMP_DB_USER = "root"
|
Const EMP_DB_USER = "root"
|
||||||
Const EMP_DB_PASSWORD = "WJF11sql"
|
Const EMP_DB_PASSWORD = "YOUR_EMP_DB_PASSWORD"
|
||||||
|
|
||||||
'-----------------------------------------------------------------------------
|
'-----------------------------------------------------------------------------
|
||||||
' Application Settings
|
' Application Settings
|
||||||
@@ -79,7 +79,7 @@ Const SNOW_TICKET_PREFIXES = "geinc,gechg,gerit,gesct" ' Valid ServiceNow ticke
|
|||||||
' External Services - Zabbix API
|
' External Services - Zabbix API
|
||||||
'-----------------------------------------------------------------------------
|
'-----------------------------------------------------------------------------
|
||||||
Const ZABBIX_URL = "http://10.48.130.113:8080/api_jsonrpc.php"
|
Const ZABBIX_URL = "http://10.48.130.113:8080/api_jsonrpc.php"
|
||||||
Const ZABBIX_API_TOKEN = "9e60b0544ec77131d94825eaa2f3f1645335539361fd33644aeb8326697aa48d"
|
Const ZABBIX_API_TOKEN = "YOUR_ZABBIX_API_TOKEN"
|
||||||
|
|
||||||
'-----------------------------------------------------------------------------
|
'-----------------------------------------------------------------------------
|
||||||
' File Upload
|
' File Upload
|
||||||
Reference in New Issue
Block a user