Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
1f8eae28
Commit
1f8eae28
authored
May 11, 2017
by
Dominik Hebeler
Browse files
Merge branch '485-ux-bei-such-timeout' into 'development'
Admin Interface ist wieder geschützt Closes
#485
See merge request
!858
parents
43d166f5
d9715b3b
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/AdminInterface.php
View file @
1f8eae28
...
...
@@ -9,12 +9,6 @@ use Response;
class
AdminInterface
extends
Controller
{
public
function
index
(
Request
$request
)
{
$localFetcher
=
file_get_contents
(
action
(
"AdminInterface@getFetcherStatus"
));
die
(
var_dump
(
$localFetcher
));
}
public
function
getFetcherStatus
()
{
// Let's get the stats for this server.
// First we need to check, which Fetcher could be available by parsing the sumas.xml
...
...
routes/web.php
View file @
1f8eae28
...
...
@@ -129,9 +129,8 @@ Route::group(
Route
::
get
(
'zitat-suche'
,
'ZitatController@zitatSuche'
);
Route
::
group
([
/*
'middleware' => ['referer.check'],
*/
'prefix'
=>
'admin'
],
function
()
{
Route
::
group
([
'middleware'
=>
[
'referer.check'
],
'prefix'
=>
'admin'
],
function
()
{
Route
::
get
(
'/'
,
'AdminInterface@index'
);
Route
::
get
(
'fetcher-status'
,
"AdminInterface@getFetcherStatus"
);
Route
::
get
(
'count'
,
'AdminInterface@count'
);
Route
::
get
(
'check'
,
'AdminInterface@check'
);
Route
::
get
(
'engines'
,
'AdminInterface@engines'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment