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
Walter Felipe
submeta
Commits
4fda321d
Commit
4fda321d
authored
Jun 17, 2020
by
alinetenorio
Browse files
alterando validação de grupo de pesquisa
parent
b0c0a08e
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/Utils/GrupoPesquisaValidation.php
View file @
4fda321d
...
@@ -21,9 +21,9 @@ class GrupoPesquisaValidation
...
@@ -21,9 +21,9 @@ class GrupoPesquisaValidation
return
false
;
return
false
;
}
}
//
if(parse_url($url)['host'] != 'dgp.cnpq.br'){
if
(
parse_url
(
$url
)[
'host'
]
!=
'dgp.cnpq.br'
){
//
return false;
return
false
;
//
}
}
if
(
$this
->
getHttpResponseCode_using_getheaders
(
$url
)
!=
200
){
if
(
$this
->
getHttpResponseCode_using_getheaders
(
$url
)
!=
200
){
return
false
;
return
false
;
...
...
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