server ver

This commit is contained in:
2021-06-20 13:49:07 +00:00
parent 36a8c92dec
commit 8877c0bad0
975 changed files with 555 additions and 6596 deletions

0
app/Http/Controllers/CategoryController.php Normal file → Executable file
View File

0
app/Http/Controllers/CommentController.php Normal file → Executable file
View File

0
app/Http/Controllers/Controller.php Normal file → Executable file
View File

0
app/Http/Controllers/MessageController.php Normal file → Executable file
View File

0
app/Http/Controllers/ReportController.php Normal file → Executable file
View File

2
app/Http/Controllers/UserController.php Normal file → Executable file
View 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
View 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
View File

0
app/Http/Controllers/rulezController.php Normal file → Executable file
View File

0
app/Http/Controllers/tmp/.gitkeep Normal file → Executable file
View 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