.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
2
sync.sh
2
sync.sh
@@ -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}
|
||||
Reference in New Issue
Block a user