-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdefault.php
74 lines (63 loc) · 2.71 KB
/
default.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<?php
/*
* default.php
* atdt01410 - The web interface mimics virtual terminal environment
* Copyright (C) 2003, 2004 SPLUG, Soongsil university, Republic of Korea
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
$SETUP["PATH"] = "/home/bbs01410/public_html";
$SETUP["URL"] = "http://www.01410.net";
// 프레임간에 데이터 주고받을시 2차 도메인이 다를경우 데이터를 받지 않음.
//$SETUP["DOMAIN"] = "www.webispy.com";
if( $_COOKIE["COOKIE_CSS"] != "" )
$SETUP["CSS"] = $_COOKIE["COOKIE_CSS"];
else
$SETUP["CSS"] = "{$SETUP["URL"]}/style/default.css";
$SETUP["TITLE"] = " W e b i s p y - B B S";
$SETUP["SIZE_TITLE"] = 40;
$SETUP["TITLE_RIGHT"]= "01410.net";
$SETUP["SIZE_TITLE_RIGHT"] = 30;
$SETUP["JSCRIPT"] = "{$SETUP["URL"]}/script/default.js";
$SETUP["DEFAULT_MENU_FILE"] = "{$SETUP["PATH"]}/default_menu.php";
$SETUP["DEFAULT_SHELL_FILE"] = "{$SETUP["URL"]}/default_shell.php";
$SETUP["AUTO_</HTML>"] = "1";
$SETUP["TAG_TITLE"] = "01410.net";
$SETUP["TITLE_DECO_TOP"] = "<font class=\"제목_장식_위_강조\"> 01410.net</font><font class=\"제목_장식_위\">━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━</font>";
$SETUP["TITLE_DECO_BOTTOM"] = "<font class=\"제목_장식_아래\">━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━</font>";
// 게시판
$SETUP["BBS_LIST_SIZE"] = 20;
$SETUP["BBS_ERROR_SHOW"] = true;
$SETUP["BBS_PDS_URL"] = "{$SETUP["URL"]}/pds";
$SETUP["BBS_PDS_PATH"] = "{$SETUP["PATH"]}/pds";
// 데이터베이스
$SETUP["MYSQL_SERVER"] = "localhost";
$SETUP["MYSQL_ACCOUNT"] = "";
$SETUP["MYSQL_PASSWORD"] = "";
$SETUP["MYSQL_DATABASE"] = "";
$SETUP["MYSQL_ERROR_SHOW"] = true;
// 게시판 class를 사용할 경우,
// 자동으로 데이터베이스 class도 선택됨.
if( isset($SETUP["USING_BBS"]) ) {
$SETUP["USING_DB"] = true;
include "{$SETUP["PATH"]}/class/bbs.php";
}
if( isset($SETUP["USING_DB"]) ) {
include "{$SETUP["PATH"]}/class/db.php";
}
include "{$SETUP["PATH"]}/class/util.php";
include "{$SETUP["PATH"]}/class/screen.php";
include "{$SETUP["PATH"]}/class/menu.php";
include "{$SETUP["PATH"]}/class/main.php";
?>