| 15 |
* * |
* * |
| 16 |
***************************************************************************/ |
***************************************************************************/ |
| 17 |
|
|
| 18 |
|
#include "init.h" |
| 19 |
#include "bbs.h" |
#include "bbs.h" |
| 20 |
#include "common.h" |
#include "common.h" |
| 21 |
|
#include "log.h" |
| 22 |
#include "io.h" |
#include "io.h" |
| 23 |
|
#include <string.h> |
| 24 |
|
#include <stdlib.h> |
| 25 |
#include <signal.h> |
#include <signal.h> |
| 26 |
#include <sys/param.h> |
#include <sys/param.h> |
| 27 |
#include <sys/types.h> |
#include <sys/types.h> |
| 122 |
{ |
{ |
| 123 |
fscanf(fin, "%s", DB_database); |
fscanf(fin, "%s", DB_database); |
| 124 |
} |
} |
| 125 |
|
if (strcmp(c_name, "db_timezone") == 0) |
| 126 |
|
{ |
| 127 |
|
fscanf(fin, "%s", DB_timezone); |
| 128 |
|
} |
| 129 |
} |
} |
| 130 |
|
|
| 131 |
fclose(fin); |
fclose(fin); |