server ver
This commit is contained in:
0
app/Http/Controllers/CategoryController.php
Normal file → Executable file
0
app/Http/Controllers/CategoryController.php
Normal file → Executable file
0
app/Http/Controllers/CommentController.php
Normal file → Executable file
0
app/Http/Controllers/CommentController.php
Normal file → Executable file
0
app/Http/Controllers/Controller.php
Normal file → Executable file
0
app/Http/Controllers/Controller.php
Normal file → Executable file
0
app/Http/Controllers/MessageController.php
Normal file → Executable file
0
app/Http/Controllers/MessageController.php
Normal file → Executable file
0
app/Http/Controllers/ReportController.php
Normal file → Executable file
0
app/Http/Controllers/ReportController.php
Normal file → Executable file
2
app/Http/Controllers/UserController.php
Normal file → Executable file
2
app/Http/Controllers/UserController.php
Normal file → Executable file
@@ -126,7 +126,7 @@ class UserController extends Controller
|
||||
\Session::flash('info', 'Cannot register when logged in');
|
||||
return redirect('/');
|
||||
}
|
||||
return view('apply');
|
||||
return view('apply_open');
|
||||
}
|
||||
|
||||
public function loggain()
|
||||
|
6
app/Http/Controllers/VideoController.php
Normal file → Executable file
6
app/Http/Controllers/VideoController.php
Normal file → Executable file
@@ -125,9 +125,9 @@ class VideoController extends Controller
|
||||
return new JsonResponse(['error' => 'erroneous_file_encoding']);
|
||||
}
|
||||
$video->videotitle = $request->get('videotitle', null);
|
||||
$video->interpret = $request->get('interpret', null);
|
||||
$video->songtitle = $request->get('songtitle', null);
|
||||
$video->imgsource = $request->get('imgsource', null);
|
||||
$video->interpret = htmlspecialchars($request->get('interpret', null));
|
||||
$video->songtitle = htmlspecialchars($request->get('songtitle', null));
|
||||
$video->imgsource = htmlspecialchars($request->get('imgsource', null));
|
||||
$video->user()->associate($user);
|
||||
$video->category()->associate(Category::findOrFail($request->get('category')));
|
||||
$video->hash = $hash;
|
||||
|
0
app/Http/Controllers/aboutController.php
Normal file → Executable file
0
app/Http/Controllers/aboutController.php
Normal file → Executable file
0
app/Http/Controllers/rulezController.php
Normal file → Executable file
0
app/Http/Controllers/rulezController.php
Normal file → Executable file
0
app/Http/Controllers/tmp/.gitkeep
Normal file → Executable file
0
app/Http/Controllers/tmp/.gitkeep
Normal file → Executable file
BIN
app/Http/Controllers/tmp/test.png
Normal file → Executable file
BIN
app/Http/Controllers/tmp/test.png
Normal file → Executable file
Binary file not shown.
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 485 KiB |
Reference in New Issue
Block a user