1
0
mirror of https://github.com/typemill/typemill.git synced 2025-08-11 16:44:21 +02:00

Version 1.2.6: Visual Editor

This commit is contained in:
Sebastian
2018-10-30 17:36:25 +01:00
parent 9b16a17d0b
commit 8179baf8f1
107 changed files with 1542 additions and 4364 deletions

View File

@@ -19,7 +19,7 @@ class RedirectIfAuthenticated
{
if(isset($_SESSION['login']))
{
$response = $response->withRedirect($this->router->pathFor('content.show'));
$response = $response->withRedirect($this->router->pathFor('content.raw'));
}
return $next($request, $response);

View File

@@ -24,7 +24,7 @@ class RedirectIfNoAdmin
if($_SESSION['role'] != 'administrator')
{
$response = $response->withRedirect($this->router->pathFor('content.show'));
$response = $response->withRedirect($this->router->pathFor('content.raw'));
}
return $next($request, $response);