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
Expand all
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
This diff is collapsed.
Click to expand it.
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