File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ public function register(): void
3131
3232 // localized-routes.php 파일 존재 여부 확인
3333 if (file_exists (config_path ('localized-routes.php ' ))) {
34- $ this -> app [ ' log ' ]-> warning (
34+ throw new \ Exception (
3535 "[OPGG Essentials Entry] localized-routes.php 파일이 존재합니다. " .
3636 "essentials-entry 패키지의 언어 설정과 충돌을 방지하기 위해 해당 파일을 삭제해주세요. "
3737 );
@@ -167,6 +167,7 @@ public static function overrideLocalizationConfig(): void
167167 // \CodeZero\LocalizedRoutes\Middleware\Detectors\BrowserDetector::class,
168168 \CodeZero \LocalizedRoutes \Middleware \Detectors \AppDetector::class, //=> required
169169 ]);
170+ Config::set ('localized-routes.check_raw_cookie ' , true );
170171 Config::set ('localized-routes.cookie_name ' , $ config ['cookie ' ]['name ' ]);
171172 Config::set ('localized-routes.cookie_minutes ' , $ config ['cookie ' ]['minutes ' ]);
172173 Config::set ('localized-routes.stores ' , [
You can’t perform that action at this time.
0 commit comments