mirror of
https://github.com/getnamingo/registry.git
synced 2025-05-13 08:07:00 +02:00
Quite a few fixes in the CP, logs now match the rest
This commit is contained in:
parent
d312db4f14
commit
09a3ae3cc4
5 changed files with 71 additions and 65 deletions
|
@ -185,10 +185,10 @@ class HomeController extends Controller
|
|||
]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public function mode(Request $request, Response $response)
|
||||
{
|
||||
if ($_SESSION['_screen_mode'] == 'dark') {
|
||||
if (isset($_SESSION['_screen_mode']) && $_SESSION['_screen_mode'] == 'dark') {
|
||||
$_SESSION['_screen_mode'] = 'light';
|
||||
} else {
|
||||
$_SESSION['_screen_mode'] = 'dark';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue