summaryrefslogtreecommitdiff
path: root/http/api-inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'http/api-inc.php')
-rw-r--r--http/api-inc.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/http/api-inc.php b/http/api-inc.php
index 96c9ca7..c2336af 100644
--- a/http/api-inc.php
+++ b/http/api-inc.php
@@ -32,7 +32,8 @@ function run($parameters) {
$versionClasses = array(
'1' => 'ApiPklV1', // RegKlas 2018.11.01
'2' => 'ApiPklV2', // RegKMP 2020.01.01
- '_default' => 'ApiPklV2'
+ '3' => 'ApiPklV3', // local BNET 2020.05.01
+ '_default' => 'ApiPklV3'
);
$version = isset($parameters['version']) ? $parameters['version'] : '_default';
$apiClass = isset($versionClasses[$version]) ? $versionClasses[$version] : $versionClasses['_default'];
@@ -234,4 +235,6 @@ class ApiPklV2 extends ApiPklV1 {
}
+class ApiPklV3 extends ApiPklV2 {}
+
?>