mirror of
https://github.com/typemill/typemill.git
synced 2025-08-08 15:16:53 +02:00
Version 1.0.4 optimized author panel and refactoring
This commit is contained in:
@@ -15,7 +15,15 @@ if($settings['settings']['setup'])
|
||||
}
|
||||
else
|
||||
{
|
||||
$app->get('/setup', AuthController::class . ':redirect');
|
||||
$app->get('/setup', AuthController::class . ':redirect');
|
||||
}
|
||||
if($settings['settings']['welcome'])
|
||||
{
|
||||
$app->get('/setup/welcome', SetupController::class . ':welcome')->setName('setup.welcome')->add(new RedirectIfUnauthenticated($container['router'], $container['flash']));
|
||||
}
|
||||
else
|
||||
{
|
||||
$app->get('/setup/welcome', AuthController::class . ':redirect')->setName('setup.welcome');
|
||||
}
|
||||
|
||||
$app->get('/tm-author', AuthController::class . ':redirect');
|
||||
|
Reference in New Issue
Block a user