Skip to content

Commit

Permalink
Adds $uri prop in Router
Browse files Browse the repository at this point in the history
  • Loading branch information
NielBuys committed Mar 16, 2023
1 parent 7c8b903 commit cae58c4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion system/core/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
* @link https://codeigniter.com/userguide3/general/controllers.html
*/
#[AllowDynamicProperties]
class CI_Controller {
class CI_Controller {

/**
* Reference to the CI singleton
Expand Down
8 changes: 7 additions & 1 deletion system/core/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
* @author EllisLab Dev Team
* @link https://codeigniter.com/userguide3/general/routing.html
*/
#[AllowDynamicProperties]
class CI_Router {

/**
Expand All @@ -59,6 +58,13 @@ class CI_Router {
*/
public $config;

/**
* CI_URI class object
*
* @var object
*/
public $uri;

/**
* List of routes
*
Expand Down

0 comments on commit cae58c4

Please sign in to comment.