filesysteme

This commit is contained in:
Mathieu Lagacé
2020-09-12 10:13:21 -04:00
parent ae00c9e7e0
commit b3f471e6e9
21 changed files with 952 additions and 1221 deletions

View File

@@ -41,12 +41,21 @@ class FilesController extends Controller
/**
* Display the specified resource.
*
* @param int $id
* @return \Illuminate\Http\Response
* @param string $id
* @return void
*/
public function show($id)
public function show($path)
{
//
$file_rules = \DB::table('acl_rules')->where('path','=',$path)->get()->all();
if ($file_rules != []) {
dd($file_rules);
}
dd(dirname($path));
$path_rules = \DB::table('acl_rules')->where('path','=',dirname($path))->get()->all();
if ($path_rules != []) {
}
return abort(404);
}
/**