Skip to content

Commit 97ec1a9

Browse files
committed
Merge branch 'release/0.9.48'
2 parents ad1acaf + 12e7afb commit 97ec1a9

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

.version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"strategy": "semver",
33
"major": 0,
44
"minor": 9,
5-
"patch": 47,
5+
"patch": 48,
66
"build": 0
77
}

src/Mvc/Cli/Commands/Routes/ListCommand.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,10 @@ private function loadRoutes( string $configPath ): array
124124
{
125125
$settings = new Yaml( $configFile );
126126

127-
// Get base path from neuron.yaml
128-
$neuronSettings = file_exists( $neuronFile ) ? new Yaml( $neuronFile ) : null;
129-
$basePath = $neuronSettings?->get( 'system', 'base_path' ) ?? dirname( $configPath );
127+
// Use actual filesystem path
128+
// Don't use system.base_path which is for runtime/container deployment
129+
// If config is in a 'config' directory, use parent; otherwise use config path itself
130+
$basePath = (basename($configPath) === 'config') ? dirname($configPath) : $configPath;
130131

131132
// Get controller paths from configuration
132133
if( $configKey === 'controller_paths' )

versionlog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
## 0.9.48 2026-01-14
2+
13
## 0.9.47 2026-01-14
24
* Fixed routes:list cli command
35

0 commit comments

Comments
 (0)