mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-04 03:44:23 +00:00
Added Milestone On Install
Added Milestone On Install
This commit is contained in:
@@ -333,6 +333,7 @@ define("NEW_FUNCTIONS_MEDAL_3YEAR", %NEW_FUNCTIONS_MEDAL_3YEAR%);
|
||||
define("NEW_FUNCTIONS_MEDAL_5YEAR", %NEW_FUNCTIONS_MEDAL_5YEAR%);
|
||||
define("NEW_FUNCTIONS_MEDAL_10YEAR", %NEW_FUNCTIONS_MEDAL_10YEAR%);
|
||||
define("NEW_FUNCTIONS_SPECIAL_MEDALS_SYSTEM", %NEW_FUNCTIONS_SPECIAL_MEDALS_SYSTEM%);
|
||||
define("NEW_FUNCTIONS_MILESTONES", %NEW_FUNCTIONS_MILESTONES%);
|
||||
|
||||
|
||||
//////////////////////////////////////////
|
||||
@@ -392,7 +393,7 @@ $requse = 0;
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename config.php ##
|
||||
## Version 4.8.5 ##
|
||||
## Version 10.0 Full Refactor & Security ##
|
||||
## Developed by: Dzoki and Dixie Edited by Advocaite ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
||||
|
||||
@@ -169,6 +169,7 @@ class Process {
|
||||
$findReplace["%NEW_FUNCTIONS_MEDAL_5YEAR%"] = $_POST['new_functions_medal_5year'];
|
||||
$findReplace["%NEW_FUNCTIONS_MEDAL_10YEAR%"] = $_POST['new_functions_medal_10year'];
|
||||
$findReplace["%NEW_FUNCTIONS_SPECIAL_MEDALS_SYSTEM%"] = $_POST['new_functions_special_medals_system'];
|
||||
$findReplace["%NEW_FUNCTIONS_MILESTONES%"] = $_POST['new_functions_milestones'];
|
||||
|
||||
fwrite($gameConfig, str_replace(array_keys($findReplace), array_values($findReplace), $text));
|
||||
|
||||
|
||||
@@ -206,7 +206,8 @@ $mechs = [
|
||||
'new_functions_medal_3year' => 'Medal 3y',
|
||||
'new_functions_medal_5year' => 'Medal 5y',
|
||||
'new_functions_medal_10year' => 'Medal 10y',
|
||||
'new_functions_special_medals_system' => 'Special Medals System'
|
||||
'new_functions_special_medals_system' => 'Special Medals System',
|
||||
'new_functions_milestones' => 'Server Milestones'
|
||||
];
|
||||
|
||||
foreach($mechs as $k => $l){
|
||||
|
||||
Reference in New Issue
Block a user