Skip to content

Commit e08c7d4

Browse files
committed
Merge branch 'release/0.6.31'
2 parents ab038d1 + 4e5f2f3 commit e08c7d4

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

src/Bootstrap.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22
use Neuron\Data\Filter\Get;
33
use Neuron\Data\Filter\Server;
44
use Neuron\Data\Object\Version;
5-
use Neuron\Data\Setting\Source\Ini;
65
use Neuron\Data\Setting\Source\Yaml;
76
use Neuron\Mvc\Application;
8-
use Neuron\Patterns\Registry;
97

108
/**
119
* Initialize the application.
@@ -14,6 +12,7 @@
1412
* @return Application
1513
* @throws Exception
1614
*/
15+
1716
function 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+
3535
function 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";

version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"major":0,"minor":6,"patch":30,"build":0}
1+
{"major":0,"minor":6,"patch":31,"build":0}

versionlog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.6.31 2025-02-18
2+
* Updated router.
3+
* Cleaned up bootstrap functions.
4+
15
## 0.6.30 2025-02-07
26
* Updated to core/application packages.
37
* Updated to php8.4

0 commit comments

Comments
 (0)