minor fix
This commit is contained in:
parent
7b17f51606
commit
9654b26f2b
@ -301,7 +301,7 @@ class MapManager implements CallbackListener {
|
||||
$this->saveMap($map);
|
||||
|
||||
$mapsDirectory = $this->maniaControl->server->getMapsDirectory();
|
||||
if($this->maniaControl->server->checkAccess($mapsDirectory)) {
|
||||
if(is_readable($mapsDirectory . $map->fileName)) {
|
||||
$mapFetcher = new \GBXChallMapFetcher(true);
|
||||
try {
|
||||
$mapFetcher->processFile($mapsDirectory . $map->fileName);
|
||||
|
Loading…
Reference in New Issue
Block a user