servermgrv2 init...
This commit is contained in:
parent
783c3699ca
commit
89b2720027
@ -20,12 +20,6 @@ class BoardController extends FrontController
|
|||||||
public function getFields(string $action = ""): array
|
public function getFields(string $action = ""): array
|
||||||
{
|
{
|
||||||
$fields = ['title', "board_file", "passwd", "content"];
|
$fields = ['title', "board_file", "passwd", "content"];
|
||||||
try {
|
|
||||||
//권한체크
|
|
||||||
$this->isRole('upload');
|
|
||||||
} catch (\Exception $e) {
|
|
||||||
$fields = ['title', "passwd", "content"];
|
|
||||||
}
|
|
||||||
switch ($action) {
|
switch ($action) {
|
||||||
case "index":
|
case "index":
|
||||||
case "excel":
|
case "excel":
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user