feat: MySQL port into installation options

Closes #279
This commit is contained in:
Martin Ambrus
2017-11-07 12:30:32 +01:00
parent a6d14c6b6d
commit 312507fe9f
14 changed files with 168 additions and 109 deletions
+1
View File
@@ -81,6 +81,7 @@ $fh = fopen($myFile, 'w') or die("<br/><br/><br/>Can't open file: GameEngine\con
$text = preg_replace("'%BOX2%'", $NEWSBOX2, $text);
$text = preg_replace("'%BOX3%'", $NEWSBOX3, $text);
$text = preg_replace("'%SSERVER%'", SQL_SERVER, $text);
$text = str_replace("%SPORT%", SQL_PORT, $text);
$text = preg_replace("'%SUSER%'", SQL_USER, $text);
$text = preg_replace("'%SPASS%'", SQL_PASS, $text);
$text = preg_replace("'%SDB%'", SQL_DB, $text);