This commit is contained in:
2026-05-22 17:11:31 +09:00
parent e280f941e6
commit 094ff95f71
2 changed files with 10 additions and 5 deletions

View File

@@ -39,7 +39,7 @@ namespace Site\Controller;
trait Mods {
public function getMenu(): array {
return [
$menu = [
[
'class' => 'menu-item',
'href' => '/',
@@ -82,13 +82,18 @@ trait Mods {
'text' => 'スタッフ限定',
'show' => true,
],
[
];
if (OPENPROVIDER_ENABLED) {
$menu[] = [
'class' => 'menu-item',
'href' => '/openprovider',
'page' => 'openprovider',
'text' => 'OpenProvider管理',
'show' => true,
],
];
}
return $menu;
}
}

View File

@@ -7,5 +7,5 @@ HTTPHOME=/var/www/htdocs/LittleBeast
rsync ${RSYNCOPT} *.php ${SRV}:${HTTPHOME}
rsync ${RSYNCOPT} blog ${SRV}:${HTTPHOME}
#rsync ${RSYNCOPT} config ${SRV}:${HTTPHOME}
rsync ${RSYNCOPT} src/Site/Controller ${SRV}:${HTTPHOME}/src/Site
rsync ${RSYNCOPT} src ${SRV}:${HTTPHOME}
rsync ${RSYNCOPT} view ${SRV}:${HTTPHOME}