mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 10:49:10 -04:00
filesysteme
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user