AvocadoAmber/AvocadoEdition_Light/adm/_gnb.999.other.menu.php

27 lines
1.2 KiB
PHP

<?php
if (!defined('_GNUBOARD_'))
exit;
/**
* 메뉴 추가가 필요한 경우 파일을 직접 수정하지 않고
* 파일 추가 후 변수 호출을 통해 사용하세요
* 파일명은 {구분명}.menu.php 와 같이 작성하고 구분명에는 영문자 등 파일 이름에 가능한 문자열을 모두 허용합니다.
*
* 코드 작성예시:
<?php
if (!defined('_GNUBOARD_'))
exit;
if (!isset($menu["other"])) {
$menu["other"] = new MenuCategory("other", "other", "기타관리", "/config_form.php", true, 99, "", 0);
}
$menu["other"]->addChildMenu("other", "커스텀메뉴", G5_ADMIN_URL . "/{your_file_name}.php", true, 1, "{bootstrap icon css code}", 0);
$menu["other"]->getLastAddedMenu()->addSubFile("/{your_subfile_name}.php");
*/
if (!isset($menu["other"])) {
$menu["other"] = new MenuCategory("other", "other", "기타관리", "/config_form.php", true, 1000, "", 0);
}
$menu["other"]->addChildMenu("other", "세션파일 일괄삭제", G5_ADMIN_URL . "/session_file_delete.php", true, 0, "\F8C3", 0);
$menu["other"]->addChildMenu("other", "캐시파일 일괄삭제", G5_ADMIN_URL . "/cache_file_delete.php", true, 100, "\F8C3", 0);