File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed
user_guide_src/source/changelogs Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 13
13
14
14
/**
15
15
* ---------------------------------------------------------------
16
- *
17
- * @deprecated 4.5.0 This file is no longer used. Moved to Boot.php.
16
+ * This file cannot be used. The code has moved to Boot.php.
18
17
* ---------------------------------------------------------------
19
18
*/
20
19
24
23
use Config \Paths ;
25
24
use Config \Services ;
26
25
26
+ header ('HTTP/1.1 503 Service Unavailable. ' , true , 503 );
27
+
28
+ $ message = 'This "system/bootstrap.php" is no longer used. If you are seeing this error message,
29
+ the upgrade is not complete. Please refer to the upgrade guide and complete the upgrade.
30
+ See https://codeigniter4.github.io/userguide/installation/upgrade_450.html ' . PHP_EOL ;
31
+ echo $ message ;
32
+
33
+ exit (1 );
34
+
27
35
/*
28
36
* ---------------------------------------------------------------
29
37
* SETUP OUR PATH CONSTANTS
37
45
/** @var Paths $paths */
38
46
39
47
// The path to the application directory.
40
- if (! defined ('APPPATH ' )) {
48
+ if (! defined ('APPPATH ' )) { // @phpstan-ignore-line
41
49
define ('APPPATH ' , realpath (rtrim ($ paths ->appDirectory , '\\/ ' )) . DIRECTORY_SEPARATOR );
42
50
}
43
51
Original file line number Diff line number Diff line change @@ -251,6 +251,8 @@ Others
251
251
- **BaseModel: ** The ``getIdValue() `` method has been changed to ``abstract ``.
252
252
- **Routing: ** The :ref: `404-override ` feature does change the Response status
253
253
code to 404 by default. See :ref: `Upgrading Guide <upgrade-450-404-override >`.
254
+ - **system/bootstrap.php: ** This file cannot be used. The code has been moved to
255
+ the new ``CodeIgniter\Boot `` class.
254
256
255
257
Interface Changes
256
258
=================
@@ -471,8 +473,6 @@ Deprecations
471
473
been moved to the ``Autoloader ``.
472
474
- The ``configureKint() `` method has been deprecated. No longer used. It has
473
475
been moved to the ``Autoloader ``.
474
- - **system/bootstrap.php: ** This file has been deprecated. No longer used.
475
- The code has been moved to the new ``CodeIgniter\Boot `` class.
476
476
- **Response: ** The constructor parameter ``$config `` has been deprecated. No
477
477
longer used.
478
478
- **Filters: **
You can’t perform that action at this time.
0 commit comments