diff options
author | FreeArtMan <dos21h@gmail.com> | 2015-03-24 20:16:29 +0900 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2015-03-24 20:16:29 +0900 |
commit | f1fb9827faec228246062f2cd8e38f0dd3338e3a (patch) | |
tree | 4b142676d0f7dbfb2decd2eb9886372d7c1fb34d /sysinfo.c | |
parent | c1e6c1341ace1f61569e6d1d0dbfb36cb192113c (diff) | |
download | microbbs-f1fb9827faec228246062f2cd8e38f0dd3338e3a.tar.gz microbbs-f1fb9827faec228246062f2cd8e38f0dd3338e3a.zip |
Added ini file support
Diffstat (limited to 'sysinfo.c')
-rw-r--r-- | sysinfo.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -24,6 +24,18 @@ int bbs_sysinfo( term_screen *ts ) term_cur_set_c( ts, 0 ); printf("Ideological support: irc://hacking.allowed.org#default\n"); + term_cur_set_c( ts, 0 ); + printf("Root dir: %s\n",g_config.root_dir ); + + term_cur_set_c( ts, 0 ); + printf("Users dir: %s\n", g_config.user_dir ); + + term_cur_set_c( ts, 0 ); + printf("Article dir: %s\n", g_config.article_dir ); + + term_cur_set_c( ts, 0 ); + printf("Syslog : %d\n", g_config.syslog ); + //main loop wait while press something term_cur_set_r( ts, term_get_maxrow( ts ) ); term_cur_set_c( ts, 0 ); |