File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change 22use Neuron \Data \Filter \Get ;
33use Neuron \Data \Filter \Server ;
44use Neuron \Data \Object \Version ;
5- use Neuron \Data \Setting \Source \Ini ;
65use Neuron \Data \Setting \Source \Yaml ;
76use Neuron \Mvc \Application ;
8- use Neuron \Patterns \Registry ;
97
108/**
119 * Initialize the application.
1412 * @return Application
1513 * @throws Exception
1614 */
15+
1716function Boot ( string $ ConfigPath ) : Application
1817{
1918 /** @var Neuron\Data\Setting\Source\ISettingSource $Settings */
@@ -32,15 +31,11 @@ function Boot( string $ConfigPath ) : Application
3231 *
3332 * @param Application $App
3433 */
34+
3535function Dispatch ( Application $ App ) : void
3636{
3737 $ Route = Get::filterScalar ( 'route ' ) ?? "" ;
3838
39- if ( $ Route && $ Route [ 0 ] != "/ " )
40- {
41- $ Route = "/ $ Route " ;
42- }
43-
4439 try
4540 {
4641 $ Type = Server::filterScalar ( 'REQUEST_METHOD ' ) ?? "GET " ;
You can’t perform that action at this time.
0 commit comments