Skip to content

Commit ed25c83

Browse files
committed
config: move Config namespace to AutoloadConfig
We can't customize `Config` namespace name.
1 parent 05bbe66 commit ed25c83

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

app/Config/Autoload.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ class Autoload extends AutoloadConfig
4646
*/
4747
public $psr4 = [
4848
APP_NAMESPACE => APPPATH, // For custom app namespace
49-
'Config' => APPPATH . 'Config',
5049
];
5150

5251
/**

system/Config/AutoloadConfig.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ class AutoloadConfig
9393
protected $corePsr4 = [
9494
'CodeIgniter' => SYSTEMPATH,
9595
'App' => APPPATH, // To ensure filters, etc still found,
96+
'Config' => APPPATH . 'Config',
9697
];
9798

9899
/**

0 commit comments

Comments
 (0)