File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ private function discoverFilters()
134134 $ className = $ locator ->getClassname ($ file );
135135
136136 // Don't include our main Filter config again...
137- if ($ className === ' Config \\ Filters ' ) {
137+ if ($ className === FiltersConfig::class ) {
138138 continue ;
139139 }
140140
Original file line number Diff line number Diff line change 2929defined ('HOMEPATH ' ) || define ('HOMEPATH ' , realpath (rtrim (getcwd (), '\\/ ' )) . DIRECTORY_SEPARATOR );
3030$ source = is_dir (HOMEPATH . 'app ' )
3131 ? HOMEPATH
32- : (is_dir ('vendor/codeigniter4/framework/ ' )
33- ? 'vendor/codeigniter4/framework/ '
34- : 'vendor/codeigniter4/codeigniter4/ ' );
32+ : (is_dir ('vendor/codeigniter4/framework/ ' ) ? 'vendor/codeigniter4/framework/ ' : 'vendor/codeigniter4/codeigniter4/ ' );
3533defined ('CONFIGPATH ' ) || define ('CONFIGPATH ' , realpath ($ source . 'app/Config ' ) . DIRECTORY_SEPARATOR );
3634defined ('PUBLICPATH ' ) || define ('PUBLICPATH ' , realpath ($ source . 'public ' ) . DIRECTORY_SEPARATOR );
3735unset($ source );
You can’t perform that action at this time.
0 commit comments