edit readme and update eventhandler
This commit is contained in:
parent
d2d4d3141a
commit
c7f984723c
2 changed files with 110 additions and 100 deletions
|
|
@ -227,8 +227,12 @@ class EventHandler
|
||||||
{
|
{
|
||||||
if (isset(self::$eventHandlers[$event])) {
|
if (isset(self::$eventHandlers[$event])) {
|
||||||
foreach (self::$eventHandlers[$event] as $callback) {
|
foreach (self::$eventHandlers[$event] as $callback) {
|
||||||
|
if (empty($data)) {
|
||||||
|
$callback->getAction();
|
||||||
|
} else {
|
||||||
$callback->getAction(...$data);
|
$callback->getAction(...$data);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (function_exists("run_event")) {
|
if (function_exists("run_event")) {
|
||||||
self::gnuboardCompatibleRunEvent($event, $data);
|
self::gnuboardCompatibleRunEvent($event, $data);
|
||||||
|
|
|
||||||
18
README.md
18
README.md
|
|
@ -1,18 +1,25 @@
|
||||||
# Avocado Amber
|
# Avocado Amber
|
||||||
Avocado Amber : Original Character Personal Site by GUNUBOARD Custom
|
|
||||||
|
Avocado Amber - GNUBoard Custom: Personal Homepage Tool
|
||||||
|
|
||||||
-----------------------------
|
-----------------------------
|
||||||
|
|
||||||
이 프로그램은 개인 홈페이지 제작을 위해
|
이 프로그램은 개인 홈페이지 제작을 위해
|
||||||
GNUBoard5 을 수정하여 만들어진 AvocadoEdition Light 를 수정한 버전입니다.
|
AvocadoEdition Light 의 구조를 바탕으로 GNUBoard 기능과 함께 재수정한 버전입니다.
|
||||||
|
|
||||||
이를 위해 전반적인 코드 수정이 이루어졌으며 원본 AvocadoEdition Light 의 기능을 유지했습니다.
|
이를 위해 전반적인 코드 수정이 이루어졌으며 원본 AvocadoEdition Light 의 기능을 유지했습니다.
|
||||||
|
|
||||||
|
- 아보카도 퍼스널과 대부분 호환됩니다. (문제가 있다면 알려주세요!)
|
||||||
|
|
||||||
-----------------------------
|
-----------------------------
|
||||||
|
|
||||||
## 기여
|
## 오류 제보
|
||||||
|
|
||||||
:thinking: github 등에서 migrate 이후 연합 기능 또는 `contact` at `drk.st` 로 의견을 보내주세요
|
- [crepe](https://crepe.cm/@sharlayan)
|
||||||
|
- [mastodon](https://drk.st/@notice)
|
||||||
|
- [홈페이지](https://info.drk.st/about)
|
||||||
|
|
||||||
|
중 하나 이상을 통해 오류 제보가 가능합니다.
|
||||||
|
|
||||||
-----------------------------
|
-----------------------------
|
||||||
|
|
||||||
|
|
@ -20,5 +27,4 @@ GNUBoard5 을 수정하여 만들어진 AvocadoEdition Light 를 수정한 버
|
||||||
|
|
||||||
기존에 개조된 코드가 있다면 git을 이용해 병합하는 것을 추천합니다.
|
기존에 개조된 코드가 있다면 git을 이용해 병합하는 것을 추천합니다.
|
||||||
|
|
||||||
기존 코드를 크게 개조하지 않았다면 단순히 덮어 씌우는 것으로 옮길 수 있습니다.
|
버전 변경에 대한 의뢰도 가능합니다.
|
||||||
버전을 변경하고 싶은 경우 별도로 문의해주세요
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue