Файл: MobileCMS-2.7.0-beta/Application/Configs/routes.php
Строк: 111
<?php
return new SystemKernelRoutingRouteCollection([
'old.segments.0' => new SystemKernelRoutingRoute('old.segment.0', '/', 'SystemDeprecatedRouter@handle'),
'old.segments.1' => new SystemKernelRoutingRoute('old.segment.1', '/{segment1:s}', 'SystemDeprecatedRouter@handle'),
'old.segments.2' => new SystemKernelRoutingRoute('old.segment.2', '/{segment1:s}/{segment2:s}', 'SystemDeprecatedRouter@handle'),
'old.segments.3' => new SystemKernelRoutingRoute('old.segment.3', '/{segment1:s}/{segment2:s}/{segment3:s}', 'SystemDeprecatedRouter@handle'),
/** downloads **/
'old.dwonload' => new SystemKernelRoutingRoute(
'old.download', '/downloads/{directory_id:i}', 'SystemDeprecatedRouter@handle', [], ['segment1' => 'downloads']
),
'old.dwonload.dwonload_file' => new SystemKernelRoutingRoute(
'old.dwonload.dwonload_file', '/download_file/{file_id:i}', 'SystemDeprecatedRouter@handle', [], ['segment1' => 'downloads', 'segment2'=> 'download_file']
),
'old.dwonload.view' => new SystemKernelRoutingRoute(
'old.download.view', '/downloads/view/{file_id:i}', 'SystemDeprecatedRouter@handle', [], ['segment1' => 'downloads', 'segment2'=> 'view_file']
),
'old.dwonload.get_jad' => new SystemKernelRoutingRoute(
'old.download.get_jad', '/downloads/get_jad/{file_id:i}.jad', 'SystemDeprecatedRouter@handle', [], ['segment1' => 'downloads', 'segment2'=> 'get_jad']
),
'old.dwonload.get_jad.view' => new SystemKernelRoutingRoute(
'old.download.get_jad.view', '/downloads/get_jad/{file_id:i}/{add_file:i}.jad', 'SystemDeprecatedRouter@handle', [], ['segment1' => 'downloads', 'segment2'=> 'get_jad']
),
'old.dwonload.add' => new SystemKernelRoutingRoute(
'old.download.add', '/downloads/{directory_id:i}/add/', 'SystemDeprecatedRouter@handle', [], ['segment1' => 'downloads', 'segment2'=> 'add_file', 'action' => 'add']
),
'old.dwonload.edit' => new SystemKernelRoutingRoute(
'old.download', '/downloads/{directory_id:i}/edit/{file_id:i}', 'SystemDeprecatedRouter@handle', [], ['segment1' => 'downloads', 'segment2'=> 'add_file', 'action' => 'edit']
),
]);