Renamed platform definition file
This commit is contained in:
parent
46fdd9893c
commit
af8e059990
|
@ -1902,10 +1902,10 @@ class GServer
|
||||||
return $serverdata;
|
return $serverdata;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (file_exists(__DIR__ . '/../../static/generator.config.php')) {
|
if (file_exists(__DIR__ . '/../../static/platforms.config.php')) {
|
||||||
require __DIR__ . '/../../static/generator.config.php';
|
require __DIR__ . '/../../static/platforms.config.php';
|
||||||
} else {
|
} else {
|
||||||
throw new HTTPException\InternalServerErrorException('Invalid generator file');
|
throw new HTTPException\InternalServerErrorException('Invalid platform file');
|
||||||
}
|
}
|
||||||
|
|
||||||
$platforms = array_merge($ap_platforms, $dfrn_platforms, $zap_platforms, $platforms);
|
$platforms = array_merge($ap_platforms, $dfrn_platforms, $zap_platforms, $platforms);
|
||||||
|
|
Loading…
Reference in a new issue