Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
alternc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
domainepublic
alternc
Commits
796dc197
Commit
796dc197
authored
Feb 11, 2013
by
Steven Mondji-Lerider
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Oops that never worked.. i don't even remember why i tried this
parent
672e5a21
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
install/upgrades/1.1.0.php
install/upgrades/1.1.0.php
+2
-1
No files found.
install/upgrades/1.1.0.php
View file @
796dc197
...
...
@@ -37,9 +37,10 @@ $db->query("select distinct uid,login,pass from db;");
//on insere dans dbusers avec enabled = admin
$query
=
array
();
while
(
$db
->
next_record
()){
$query
[]
=
"insert
or update
into dbusers values('',"
.
$db
->
f
(
'uid'
)
.
",'"
.
$db
->
f
(
'login'
)
.
"','"
.
$db
->
f
(
'pass'
)
.
"',
\"
ADMIN
\"
);"
;
$query
[]
=
"insert into dbusers values('',"
.
$db
->
f
(
'uid'
)
.
",'"
.
$db
->
f
(
'login'
)
.
"','"
.
$db
->
f
(
'pass'
)
.
"',
\"
ADMIN
\"
);"
;
}
foreach
(
$query
as
$q
){
print_r
(
$q
);
$db
->
query
(
$q
);
}
...
...
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