diff options
Diffstat (limited to 'application/front')
-rw-r--r-- | application/front/controller/admin/ManageShaareController.php | 2 | ||||
-rw-r--r-- | application/front/controller/visitor/DailyController.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/application/front/controller/admin/ManageShaareController.php b/application/front/controller/admin/ManageShaareController.php index 33e1188e..ca2da9b5 100644 --- a/application/front/controller/admin/ManageShaareController.php +++ b/application/front/controller/admin/ManageShaareController.php | |||
@@ -169,7 +169,7 @@ class ManageShaareController extends ShaarliAdminController | |||
169 | return $this->redirectFromReferer( | 169 | return $this->redirectFromReferer( |
170 | $request, | 170 | $request, |
171 | $response, | 171 | $response, |
172 | ['add-shaare', 'shaare'], ['addlink', 'post', 'edit_link'], | 172 | ['/admin/add-shaare', '/admin/shaare'], ['addlink', 'post', 'edit_link'], |
173 | $bookmark->getShortUrl() | 173 | $bookmark->getShortUrl() |
174 | ); | 174 | ); |
175 | } | 175 | } |
diff --git a/application/front/controller/visitor/DailyController.php b/application/front/controller/visitor/DailyController.php index 54a4778f..07617cf1 100644 --- a/application/front/controller/visitor/DailyController.php +++ b/application/front/controller/visitor/DailyController.php | |||
@@ -132,7 +132,7 @@ class DailyController extends ShaarliVisitorController | |||
132 | 'date' => $dayDatetime, | 132 | 'date' => $dayDatetime, |
133 | 'date_rss' => $dayDatetime->format(DateTime::RSS), | 133 | 'date_rss' => $dayDatetime->format(DateTime::RSS), |
134 | 'date_human' => format_date($dayDatetime, false, true), | 134 | 'date_human' => format_date($dayDatetime, false, true), |
135 | 'absolute_url' => $indexUrl . '/daily?day=' . $day, | 135 | 'absolute_url' => $indexUrl . 'daily?day=' . $day, |
136 | 'links' => [], | 136 | 'links' => [], |
137 | ]; | 137 | ]; |
138 | 138 | ||