diff options
| author | horus | 2018-02-15 15:05:39 +0100 |
|---|---|---|
| committer | horus | 2018-02-15 15:05:39 +0100 |
| commit | 4c071113fa35c42d8b324faafdb95f290c209f7f (patch) | |
| tree | 029494383167887383b000e237ddf76c8acc6715 /site/app/Http/Controllers/SearchController.php | |
| parent | 933978a5f244e6907c4ef13388a0829839037978 (diff) | |
| download | alkobote-4c071113fa35c42d8b324faafdb95f290c209f7f.tar.gz | |
Misc improvements. (website)
Diffstat (limited to 'site/app/Http/Controllers/SearchController.php')
| -rw-r--r-- | site/app/Http/Controllers/SearchController.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/site/app/Http/Controllers/SearchController.php b/site/app/Http/Controllers/SearchController.php index 4a3e1da..4a454f8 100644 --- a/site/app/Http/Controllers/SearchController.php +++ b/site/app/Http/Controllers/SearchController.php @@ -65,6 +65,11 @@ class SearchController extends Controller { } $query_string = ltrim($query_string, "&"); + /* + * For strftime() in view. + */ + #setlocale(LC_TIME, 'de_DE.utf8'); + return view('search', ['data' => $data, 'search_phrase' => $query, 'rss_feed' => '/search/feed/?' . $query_string ]); } |
