Skip to content

Commit 12228dc

Browse files
committed
Update
Fixed cache debug
1 parent 389bd0a commit 12228dc

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Base.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ protected function translate(string $string) : string
101101
$slug = $this->slugify($slug);
102102
$slug = $this->limitString($slug);
103103

104+
Cache::$debug = false;
104105
$cache = new Cache();
105106
$lang = $this->getLanguage();
106107
$key = "i18n-{$lang}-{$length}-{$slug}";

src/BaseController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ protected function verifyToken(?string $token = null, ?string $source = null)
147147
return true;
148148
}
149149
}
150+
150151
return false;
151152
}
152153

0 commit comments

Comments
 (0)