Skip to content

Commit 747a85f

Browse files
authored
Update RouterService.php (#99)
checks for eg001 (as it shares a different namespace than other examples)
1 parent d750cd6 commit 747a85f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Quick_ACG/src/RouterService.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,13 @@ public function router(): void
7474
case 'ds_return':
7575
header('Location: ' . '/public', true);
7676
break;
77+
78+
case 'eg001':
79+
$_SESSION['API_TEXT'] = ManifestService::loadManifestData(ManifestService::getLinkToManifestFile('eSignature'));
80+
$controller = '\Example\\' . $this->getController($page);
81+
new $controller($page);
82+
break;
83+
7784
default:
7885
error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING & ~E_DEPRECATED);
7986
$_SESSION['API_TEXT'] = ManifestService::loadManifestData(ManifestService::getLinkToManifestFile('eSignature'));

0 commit comments

Comments
 (0)