Parent Directory
|
Revision Log
|
Patch
| Revision 1.25 by sysadm, Wed May 7 05:47:49 2025 UTC | Revision 1.26 by sysadm, Thu May 8 08:05:58 2025 UTC | |
|---|---|---|
| # | Line 139 int main(int argc, char *argv[]) | Line 139 int main(int argc, char *argv[]) |
| 139 | } | } |
| 140 | ||
| 141 | // Load configuration | // Load configuration |
| 142 | if (load_conf("conf/bbsd.conf") < 0) | if (load_conf(CONF_BBSD) < 0) |
| 143 | { | |
| 144 | exit(-2); | exit(-2); |
| 145 | } | |
| 146 | ||
| 147 | // Load menus | // Load menus |
| 148 | if (load_menu(&bbs_menu, "conf/menu.conf") < 0) | if (load_menu(&bbs_menu, CONF_MENU) < 0) |
| 149 | { | |
| 150 | unload_menu(&bbs_menu); | |
| 151 | exit(-3); | exit(-3); |
| 152 | } | |
| 153 | ||
| 154 | // Set signal handler | // Set signal handler |
| 155 | signal(SIGCHLD, child_exit); | signal(SIGCHLD, child_exit); |
|
||||||||
| webmaster@leafok.com | ViewVC Help |
| Powered by ViewVC 1.3.0-beta1 |