Skip to content

Commit bb44008

Browse files
committed
adds app to registry
1 parent cad5de7 commit bb44008

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Mvc/Application.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ public function __construct( string $Version ="1.0.0", ?ISettingSource $Source =
4545
$this->_RoutesPath = '';
4646

4747
Registry::getInstance()->set( 'BasePath', $this->getBasePath() );
48+
Registry::getInstance()->set( 'App', $this );
4849

4950
$RoutesPath = $this->getSetting( 'system', 'routes_path' );
5051
if( $RoutesPath )

0 commit comments

Comments
 (0)