Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
entrix
WoWSimpleRegistration
Commits
ed29f441
Commit
ed29f441
authored
Jul 28, 2020
by
Amin.MasterkinG
Browse files
Replace $config to get_config.
parent
c0afd176
Changes
1
Hide whitespace changes
Inline
Side-by-side
application/include/user.php
View file @
ed29f441
...
...
@@ -28,14 +28,14 @@ class user
self
::
normal_changepass
();
}
self
::
restorepassword
();
if
(
empty
(
$
config
[
'captcha_type'
]
))
{
if
(
empty
(
get_
config
(
'captcha_type'
)
))
{
unset
(
$_SESSION
[
'captcha'
]);
self
::
$captcha
=
new
CaptchaBuilder
;
self
::
$captcha
->
build
();
$_SESSION
[
'captcha'
]
=
self
::
$captcha
->
getPhrase
();
}
}
else
{
if
(
empty
(
$
config
[
'captcha_type'
]
))
{
if
(
empty
(
get_
config
(
'captcha_type'
)
))
{
unset
(
$_SESSION
[
'captcha'
]);
self
::
$captcha
=
new
CaptchaBuilder
;
self
::
$captcha
->
build
();
...
...
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