Added eco file extension

Added eco file extension for eco  servers to work properly
This commit is contained in:
Lacrimosa99 2019-06-17 20:58:07 +02:00
parent 7360c1927b
commit 111c05f1fb
2 changed files with 1 additions and 1 deletions

BIN
images/games/icons/eco.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@ -591,7 +591,7 @@ class AppServer {
$serverDir = ($this->appServerDetails['protectionModeStarted'] == 'Y') ? 'pserver/' : 'server/';
$absolutePath = $this->removeSlashes($this->appServerDetails['homeDir'] . '/' . $this->appServerDetails['userName'] . '/' . $serverDir);
$copyFileExtensions = array('xml', 'vdf', 'cfg', 'con', 'conf', 'config', 'ini', 'gam', 'txt', 'log', 'smx', 'sp', 'db', 'lang', 'lua', 'props', 'properties', 'json', 'example', 'html', 'yml', 'yaml', 'csv');
$copyFileExtensions = array('xml', 'vdf', 'cfg', 'con', 'conf', 'config', 'ini', 'gam', 'txt', 'log', 'smx', 'sp', 'db', 'lang', 'lua', 'props', 'properties', 'json', 'example', 'html', 'yml', 'yaml', 'csv', 'eco');
if ($standalone and isset($scriptName)) {
$script = $this->shellScriptHeader;