Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
phpdts
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nemo Ma
phpdts
Commits
48b314cd
Commit
48b314cd
authored
Sep 24, 2024
by
Nemo Ma
Committed by
GitHub
Sep 24, 2024
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #212 from differentrain/nouveau
缓解#211中的问题
parents
366fc4b8
1c8f7087
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
394 additions
and
2 deletions
+394
-2
gamedata/sql/all_forInstall.sql
gamedata/sql/all_forInstall.sql
+389
-0
install.php
install.php
+5
-2
No files found.
gamedata/sql/all_forInstall.sql
0 → 100644
View file @
48b314cd
-- MySQL dump 10.13 Distrib 5.5.31, for Linux (x86_64)
--
-- Host: localhost Database: dts
-- ------------------------------------------------------
-- Server version 5.5.31-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */
;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */
;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */
;
/*!40101 SET NAMES utf8 */
;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */
;
/*!40103 SET TIME_ZONE='+00:00' */
;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */
;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */
;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */
;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */
;
--
-- Table structure for table `acbra3_chat`
--
DROP
TABLE
IF
EXISTS
`acbra3_chat`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
CREATE
TABLE
`acbra3_chat`
(
`cid`
mediumint
unsigned
NOT
NULL
AUTO_INCREMENT
,
`type`
enum
(
'0'
,
'1'
,
'2'
,
'3'
,
'4'
,
'5'
)
NOT
NULL
DEFAULT
'0'
,
`time`
int
(
10
)
unsigned
NOT
NULL
DEFAULT
'0'
,
`send`
char
(
24
)
NOT
NULL
DEFAULT
''
,
`recv`
char
(
15
)
NOT
NULL
DEFAULT
''
,
`msg`
char
(
60
)
NOT
NULL
DEFAULT
''
,
PRIMARY
KEY
(
`cid`
)
)
ENGINE
=
MEMORY
AUTO_INCREMENT
=
12
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
--
-- 表的结构 `bra_itemdepot`
-- 储存仓库道具的信息
--
DROP
TABLE
IF
EXISTS
`acbra3_itemdepot`
;
CREATE
TABLE
`acbra3_itemdepot`
(
iid
mediumint
unsigned
NOT
NULL
auto_increment
,
itm
varchar
(
30
)
NOT
NULL
default
''
,
itmk
varchar
(
40
)
not
null
default
''
,
itme
int
(
10
)
unsigned
NOT
NULL
default
'0'
,
itms
char
(
10
)
not
null
default
'0'
,
itmsk
varchar
(
40
)
not
null
default
''
,
itmpara
text
not
null
,
itmowner
char
(
15
)
NOT
NULL
DEFAULT
''
,
itmpw
char
(
5
)
NOT
NULL
DEFAULT
''
,
PRIMARY
KEY
(
iid
)
)
ENGINE
=
MyISAM
;
--
-- Table structure for table `acbra3_gambling`
--
DROP
TABLE
IF
EXISTS
`acbra3_gambling`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
CREATE
TABLE
`acbra3_gambling`
(
`gid`
smallint
(
5
)
unsigned
NOT
NULL
AUTO_INCREMENT
,
`uid`
mediumint
(
8
)
unsigned
NOT
NULL
DEFAULT
'0'
,
`uname`
char
(
15
)
NOT
NULL
DEFAULT
''
,
`bid`
smallint
(
5
)
unsigned
NOT
NULL
DEFAULT
'0'
,
`bname`
char
(
15
)
NOT
NULL
DEFAULT
''
,
`wager`
int
(
10
)
unsigned
NOT
NULL
DEFAULT
'0'
,
`odds`
decimal
(
8
,
4
)
unsigned
NOT
NULL
DEFAULT
'0.0000'
,
PRIMARY
KEY
(
`gid`
)
)
ENGINE
=
MyISAM
AUTO_INCREMENT
=
2
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
--
-- Table structure for table `acbra3_log`
--
DROP
TABLE
IF
EXISTS
`acbra3_log`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
CREATE
TABLE
`acbra3_log`
(
`lid`
mediumint
(
8
)
unsigned
NOT
NULL
AUTO_INCREMENT
,
`toid`
smallint
(
5
)
unsigned
NOT
NULL
DEFAULT
'0'
,
`type`
char
(
1
)
NOT
NULL
DEFAULT
''
,
`prcsd`
tinyint
(
1
)
unsigned
NOT
NULL
DEFAULT
'0'
,
`time`
int
(
10
)
unsigned
NOT
NULL
DEFAULT
'0'
,
`log`
varchar
(
255
)
NOT
NULL
DEFAULT
''
,
PRIMARY
KEY
(
`lid`
)
)
ENGINE
=
MEMORY
AUTO_INCREMENT
=
29
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
--
-- Table structure for table `acbra3_mapitem`
--
DROP
TABLE
IF
EXISTS
`acbra3_mapitem`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
CREATE
TABLE
`acbra3_mapitem`
(
iid
mediumint
unsigned
NOT
NULL
auto_increment
,
itm
char
(
30
)
NOT
NULL
default
''
,
itmk
char
(
40
)
not
null
default
''
,
itme
int
(
10
)
unsigned
NOT
NULL
DEFAULT
'0'
,
itms
char
(
10
)
not
null
default
'0'
,
itmsk
char
(
40
)
not
null
default
''
,
pls
tinyint
unsigned
not
null
default
'0'
,
PRIMARY
KEY
(
`iid`
)
)
ENGINE
=
MyISAM
AUTO_INCREMENT
=
7726
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
--
-- Table structure for table `acbra3_maptrap`
--
DROP
TABLE
IF
EXISTS
`acbra3_maptrap`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
CREATE
TABLE
`acbra3_maptrap`
(
tid
mediumint
unsigned
NOT
NULL
auto_increment
,
itm
char
(
30
)
NOT
NULL
default
''
,
itmk
char
(
40
)
not
null
default
''
,
itme
int
(
10
)
unsigned
NOT
NULL
DEFAULT
'0'
,
itms
char
(
10
)
not
null
default
'0'
,
itmsk
char
(
40
)
not
null
default
''
,
pls
tinyint
unsigned
not
null
default
'0'
,
PRIMARY
KEY
(
`tid`
)
)
ENGINE
=
MyISAM
AUTO_INCREMENT
=
185
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
--
-- Table structure for table `acbra3_newsinfo`
--
DROP
TABLE
IF
EXISTS
`acbra3_newsinfo`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
CREATE
TABLE
`acbra3_newsinfo`
(
`nid`
mediumint
unsigned
NOT
NULL
AUTO_INCREMENT
,
`time`
int
(
10
)
unsigned
NOT
NULL
DEFAULT
'0'
,
`news`
char
(
15
)
NOT
NULL
DEFAULT
''
,
`a`
varchar
(
255
)
NOT
NULL
DEFAULT
''
,
`b`
varchar
(
255
)
NOT
NULL
DEFAULT
''
,
`c`
varchar
(
255
)
NOT
NULL
DEFAULT
''
,
`d`
varchar
(
255
)
NOT
NULL
DEFAULT
''
,
`e`
varchar
(
255
)
NOT
NULL
DEFAULT
''
,
PRIMARY
KEY
(
`nid`
)
)
ENGINE
=
MyISAM
AUTO_INCREMENT
=
73
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
--
-- Table structure for table `acbra3_players`
--
DROP
TABLE
IF
EXISTS
`acbra3_players`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
CREATE
TABLE
`acbra3_players`
(
pid
smallint
unsigned
NOT
NULL
auto_increment
,
type
tinyint
NOT
NULL
default
'0'
,
name
char
(
15
)
NOT
NULL
default
''
,
pass
char
(
32
)
NOT
NULL
default
''
,
gd
char
(
1
)
NOT
NULL
default
'm'
,
sNo
smallint
unsigned
NOT
NULL
default
'0'
,
icon
smallint
unsigned
NOT
NULL
default
'0'
,
club
tinyint
unsigned
NOT
NULL
default
'0'
,
endtime
int
(
10
)
unsigned
NOT
NULL
default
'0'
,
validtime
int
(
10
)
unsigned
NOT
NULL
default
'0'
,
deathtime
int
(
10
)
unsigned
NOT
NULL
default
'0'
,
cmdnum
int
unsigned
NOT
NULL
default
'0'
,
achievement
text
NOT
NULL
default
''
,
nick
text
NOT
NULL
default
''
,
nicks
text
NOT
NULL
default
''
,
nicksrev
text
NOT
NULL
default
''
,
skillpoint
smallint
unsigned
NOT
NULL
default
'0'
,
skills
smallint
unsigned
NOT
NULL
default
'0'
,
cdsec
int
(
10
)
unsigned
NOT
NULL
default
'0'
,
cdmsec
smallint
(
3
)
unsigned
NOT
NULL
default
'0'
,
cdtime
mediumint
unsigned
NOT
NULL
default
'0'
,
action
char
(
12
)
NOT
NULL
default
''
,
hp
mediumint
unsigned
NOT
NULL
default
'0'
,
mhp
mediumint
unsigned
NOT
NULL
default
'0'
,
sp
smallint
unsigned
NOT
NULL
default
'0'
,
msp
smallint
unsigned
NOT
NULL
default
'0'
,
ss
smallint
unsigned
NOT
NULL
default
'0'
,
mss
smallint
unsigned
NOT
NULL
default
'0'
,
att
smallint
unsigned
NOT
NULL
default
'0'
,
def
smallint
unsigned
NOT
NULL
default
'0'
,
pls
tinyint
unsigned
NOT
NULL
default
'0'
,
lvl
tinyint
unsigned
NOT
NULL
default
'0'
,
`exp`
smallint
unsigned
NOT
NULL
default
'0'
,
money
mediumint
unsigned
NOT
NULL
default
'0'
,
rp
mediumint
unsigned
NOT
NULL
default
'0'
,
bid
smallint
unsigned
NOT
NULL
default
'0'
,
`inf`
char
(
10
)
not
null
default
''
,
rage
tinyint
unsigned
NOT
NULL
default
'0'
,
pose
tinyint
(
1
)
unsigned
NOT
NULL
default
'0'
,
tactic
tinyint
(
1
)
unsigned
NOT
NULL
default
'0'
,
killnum
smallint
unsigned
NOT
NULL
default
'0'
,
state
tinyint
unsigned
NOT
NULL
default
'0'
,
`wp`
smallint
unsigned
not
null
default
'0'
,
`wk`
smallint
unsigned
not
null
default
'0'
,
`wg`
smallint
unsigned
not
null
default
'0'
,
`wc`
smallint
unsigned
not
null
default
'0'
,
`wd`
smallint
unsigned
not
null
default
'0'
,
`wf`
smallint
unsigned
not
null
default
'0'
,
`teamID`
char
(
15
)
not
null
default
''
,
`teamPass`
char
(
15
)
not
null
default
''
,
teamMate
text
NOT
NULL
default
''
,
teamIcon
smallint
unsigned
NOT
NULL
default
'0'
,
getitem
text
NOT
NULL
default
''
,
itembag
text
NOT
NULL
default
''
,
itmnum
smallint
unsigned
NOT
NULL
default
'0'
,
itmnumlimit
smallint
unsigned
NOT
NULL
default
'0'
,
wep
char
(
30
)
NOT
NULL
default
''
,
wepk
char
(
40
)
not
null
default
''
,
wepe
int
(
10
)
unsigned
NOT
NULL
DEFAULT
'0'
,
weps
char
(
10
)
not
null
default
'0'
,
wepsk
char
(
40
)
not
null
default
''
,
wep2
char
(
30
)
NOT
NULL
default
''
,
wep2k
char
(
40
)
not
null
default
''
,
wep2e
int
(
10
)
unsigned
NOT
NULL
DEFAULT
'0'
,
wep2s
char
(
10
)
not
null
default
'0'
,
wep2sk
char
(
40
)
not
null
default
''
,
arb
char
(
30
)
NOT
NULL
default
''
,
arbk
char
(
40
)
not
null
default
''
,
arbe
int
(
10
)
unsigned
NOT
NULL
DEFAULT
'0'
,
arbs
char
(
10
)
not
null
default
'0'
,
arbsk
char
(
40
)
not
null
default
''
,
arh
char
(
30
)
NOT
NULL
default
''
,
arhk
char
(
40
)
not
null
default
''
,
arhe
int
(
10
)
unsigned
NOT
NULL
DEFAULT
'0'
,
arhs
char
(
10
)
not
null
default
'0'
,
arhsk
char
(
40
)
not
null
default
''
,
ara
char
(
30
)
NOT
NULL
default
''
,
arak
char
(
40
)
not
null
default
''
,
arae
int
(
10
)
unsigned
NOT
NULL
DEFAULT
'0'
,
aras
char
(
10
)
not
null
default
'0'
,
arask
char
(
40
)
not
null
default
''
,
arf
char
(
30
)
NOT
NULL
default
''
,
arfk
char
(
40
)
not
null
default
''
,
arfe
int
(
10
)
unsigned
NOT
NULL
DEFAULT
'0'
,
arfs
char
(
10
)
not
null
default
'0'
,
arfsk
char
(
40
)
not
null
default
''
,
art
char
(
30
)
NOT
NULL
default
''
,
artk
char
(
40
)
not
null
default
''
,
arte
int
(
10
)
unsigned
NOT
NULL
DEFAULT
'0'
,
arts
char
(
10
)
not
null
default
'0'
,
artsk
char
(
40
)
not
null
default
''
,
itm0
char
(
30
)
NOT
NULL
default
''
,
itmk0
char
(
40
)
not
null
default
''
,
itme0
int
(
10
)
unsigned
NOT
NULL
DEFAULT
'0'
,
itms0
char
(
10
)
not
null
default
'0'
,
itmsk0
char
(
40
)
not
null
default
''
,
itm1
char
(
30
)
NOT
NULL
default
''
,
itmk1
char
(
40
)
not
null
default
''
,
itme1
int
(
10
)
unsigned
NOT
NULL
DEFAULT
'0'
,
itms1
char
(
10
)
not
null
default
'0'
,
itmsk1
char
(
40
)
not
null
default
''
,
itm2
char
(
30
)
NOT
NULL
default
''
,
itmk2
char
(
40
)
not
null
default
''
,
itme2
int
(
10
)
unsigned
NOT
NULL
DEFAULT
'0'
,
itms2
char
(
10
)
not
null
default
'0'
,
itmsk2
char
(
40
)
not
null
default
''
,
itm3
char
(
30
)
NOT
NULL
default
''
,
itmk3
char
(
40
)
not
null
default
''
,
itme3
int
(
10
)
unsigned
NOT
NULL
DEFAULT
'0'
,
itms3
char
(
10
)
not
null
default
'0'
,
itmsk3
char
(
40
)
not
null
default
''
,
itm4
char
(
30
)
NOT
NULL
default
''
,
itmk4
char
(
40
)
not
null
default
''
,
itme4
int
(
10
)
unsigned
NOT
NULL
DEFAULT
'0'
,
itms4
char
(
10
)
not
null
default
'0'
,
itmsk4
char
(
40
)
not
null
default
''
,
itm5
char
(
30
)
NOT
NULL
default
''
,
itmk5
char
(
40
)
not
null
default
''
,
itme5
int
(
10
)
unsigned
NOT
NULL
DEFAULT
'0'
,
itms5
char
(
10
)
not
null
default
'0'
,
itmsk5
char
(
40
)
not
null
default
''
,
itm6
char
(
30
)
NOT
NULL
default
''
,
itmk6
char
(
40
)
not
null
default
''
,
itme6
int
(
10
)
unsigned
NOT
NULL
DEFAULT
'0'
,
itms6
char
(
10
)
not
null
default
'0'
,
itmsk6
char
(
40
)
not
null
default
''
,
flare
int
(
10
)
NOT
NULL
default
'0'
,
dcloak
int
(
10
)
NOT
NULL
default
'0'
,
auraa
int
(
10
)
NOT
NULL
default
'0'
,
aurab
int
(
10
)
NOT
NULL
default
'0'
,
aurac
int
(
10
)
NOT
NULL
default
'0'
,
aurad
int
(
10
)
NOT
NULL
default
'0'
,
aurae
int
(
10
)
NOT
NULL
default
'0'
,
souls
int
(
10
)
NOT
NULL
default
'0'
,
debuffa
int
(
10
)
NOT
NULL
default
'0'
,
debuffb
int
(
10
)
NOT
NULL
default
'0'
,
debuffc
int
(
10
)
NOT
NULL
default
'0'
,
vcode
char
(
1
)
not
null
default
''
,
gemstate
tinyint
(
3
)
unsigned
NOT
NULL
DEFAULT
'0'
,
gemname
char
(
30
)
NOT
NULL
default
''
,
gempower
char
(
5
)
not
null
default
'0'
,
gemexp
smallint
unsigned
NOT
NULL
default
'0'
,
gemlvl
tinyint
unsigned
NOT
NULL
default
'0'
,
typls
tinyint
unsigned
NOT
NULL
default
'0'
,
tyowner
varchar
(
30
)
NOT
NULL
default
''
,
statusa
int
(
10
)
NOT
NULL
default
'0'
,
statusb
int
(
10
)
NOT
NULL
default
'0'
,
statusc
int
(
10
)
NOT
NULL
default
'0'
,
statusd
int
(
10
)
NOT
NULL
default
'0'
,
statuse
int
(
10
)
NOT
NULL
default
'0'
,
PRIMARY
KEY
(
`pid`
),
KEY
`TYPE`
(
`type`
,
`sNo`
),
KEY
`NAME`
(
`name`
,
`type`
)
)
ENGINE
=
MyISAM
AUTO_INCREMENT
=
365
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
--
-- Table structure for table `acbra3_shopitem`
--
DROP
TABLE
IF
EXISTS
`acbra3_shopitem`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
CREATE
TABLE
`acbra3_shopitem`
(
sid
smallint
unsigned
NOT
NULL
auto_increment
,
kind
tinyint
unsigned
NOT
NULL
default
'0'
,
num
smallint
unsigned
NOT
NULL
default
'0'
,
price
smallint
unsigned
NOT
NULL
default
'0'
,
area
tinyint
unsigned
NOT
NULL
default
'0'
,
item
char
(
30
)
NOT
NULL
default
''
,
itmk
char
(
40
)
not
null
default
''
,
itme
int
(
10
)
unsigned
NOT
NULL
DEFAULT
'0'
,
itms
char
(
10
)
not
null
default
'0'
,
itmsk
char
(
40
)
not
null
default
''
,
PRIMARY
KEY
(
`sid`
),
KEY
`KIND`
(
`kind`
,
`area`
)
)
ENGINE
=
MyISAM
AUTO_INCREMENT
=
165
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
--
-- Table structure for table `lpuzzle_users`
--
DROP
TABLE
IF
EXISTS
`lpuzzle_users`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
CREATE
TABLE
`lpuzzle_users`
(
`sid`
int
(
10
)
unsigned
NOT
NULL
AUTO_INCREMENT
,
`uname`
text
COLLATE
utf8_unicode_ci
NOT
NULL
,
`pass`
text
COLLATE
utf8_unicode_ci
NOT
NULL
,
`status`
text
COLLATE
utf8_unicode_ci
NOT
NULL
,
PRIMARY
KEY
(
`sid`
)
)
ENGINE
=
MyISAM
AUTO_INCREMENT
=
112
DEFAULT
CHARSET
=
utf8
COLLATE
=
utf8_unicode_ci
;
/*!40101 SET character_set_client = @saved_cs_client */
;
--
-- Table structure for table `submission`
--
DROP
TABLE
IF
EXISTS
`submission`
;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
CREATE
TABLE
`submission`
(
`sid`
int
(
10
)
unsigned
NOT
NULL
AUTO_INCREMENT
,
`pid`
int
(
10
)
unsigned
NOT
NULL
DEFAULT
'0'
,
`result`
int
(
10
)
unsigned
NOT
NULL
DEFAULT
'0'
,
`detail`
int
(
10
)
unsigned
NOT
NULL
DEFAULT
'0'
,
`timeused`
int
(
11
)
NOT
NULL
DEFAULT
'0'
,
`memused`
int
(
11
)
NOT
NULL
DEFAULT
'0'
,
PRIMARY
KEY
(
`sid`
)
)
ENGINE
=
MyISAM
AUTO_INCREMENT
=
188
DEFAULT
CHARSET
=
utf8
COLLATE
=
utf8_unicode_ci
;
/*!40101 SET character_set_client = @saved_cs_client */
;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */
;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */
;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */
;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */
;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */
;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */
;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */
;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */
;
-- Dump completed on 2013-06-24 15:25:21
install.php
View file @
48b314cd
...
...
@@ -1220,7 +1220,10 @@ function runquery($sql) {
foreach
(
explode
(
";
\n
"
,
trim
(
$sql
))
as
$query
)
{
$queries
=
explode
(
"
\n
"
,
trim
(
$query
));
foreach
(
$queries
as
$query
)
{
$ret
[
$num
]
.=
$query
[
0
]
==
'#'
||
$query
[
0
]
.
$query
[
1
]
==
'--'
?
''
:
$query
;
if
(
count
(
$ret
)
==
$num
)
{
$ret
[]
=
''
;
}
$ret
[
$num
]
.=
strlen
(
$query
)
<
2
||
$query
[
0
]
==
'#'
||
$query
[
0
]
.
$query
[
1
]
==
'--'
?
''
:
$query
;
}
$num
++
;
}
...
...
@@ -1312,4 +1315,4 @@ function setconfig($string) {
return
$string
;
}
?>
\ No newline at end of file
?>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment