diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/core/Controller.php | 1 | ||||
-rw-r--r-- | system/core/Loader.php | 1 | ||||
-rw-r--r-- | system/core/Router.php | 3 | ||||
-rw-r--r-- | system/core/URI.php | 2 | ||||
-rw-r--r-- | system/database/DB_driver.php | 1 | ||||
-rw-r--r-- | system/libraries/javascript/index.html | 10 |
6 files changed, 18 insertions, 0 deletions
diff --git a/system/core/Controller.php b/system/core/Controller.php index aeccd60ee..ac7a0566a 100644 --- a/system/core/Controller.php +++ b/system/core/Controller.php @@ -50,6 +50,7 @@ defined('BASEPATH') OR exit('No direct script access allowed'); * @author EllisLab Dev Team * @link https://codeigniter.com/userguide3/general/controllers.html */ +#[\AllowDynamicProperties] class CI_Controller { /** diff --git a/system/core/Loader.php b/system/core/Loader.php index 648b7cfc7..b09f9e688 100644 --- a/system/core/Loader.php +++ b/system/core/Loader.php @@ -49,6 +49,7 @@ defined('BASEPATH') OR exit('No direct script access allowed'); * @author EllisLab Dev Team * @link https://codeigniter.com/userguide3/libraries/loader.html */ +#[\AllowDynamicProperties] class CI_Loader { // All these are set automatically. Don't mess with them. diff --git a/system/core/Router.php b/system/core/Router.php index e0fb922f1..f15a596f4 100644 --- a/system/core/Router.php +++ b/system/core/Router.php @@ -114,6 +114,9 @@ class CI_Router { // -------------------------------------------------------------------- + + public $uri; + /** * Class constructor * diff --git a/system/core/URI.php b/system/core/URI.php index 1e9485883..eff969d75 100644 --- a/system/core/URI.php +++ b/system/core/URI.php @@ -92,6 +92,8 @@ class CI_URI { */ protected $_permitted_uri_chars; + public $config; + /** * Class constructor * diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php index de03a4185..f7ff92197 100644 --- a/system/database/DB_driver.php +++ b/system/database/DB_driver.php @@ -51,6 +51,7 @@ defined('BASEPATH') OR exit('No direct script access allowed'); * @author EllisLab Dev Team * @link https://codeigniter.com/userguide3/database/ */ +#[\AllowDynamicProperties] abstract class CI_DB_driver { /** diff --git a/system/libraries/javascript/index.html b/system/libraries/javascript/index.html new file mode 100644 index 000000000..c942a79ce --- /dev/null +++ b/system/libraries/javascript/index.html @@ -0,0 +1,10 @@ +<html> +<head> + <title>403 Forbidden</title> +</head> +<body> + +<p>Directory access is forbidden.</p> + +</body> +</html>
\ No newline at end of file |