Skip to content
Snippets Groups Projects
Commit 4199092f authored by dmitriy.trt's avatar dmitriy.trt Committed by Ted Cooper
Browse files

[#1694022] by dmitriy.trt: Support empty verification file.

parent 82b35843
No related branches found
No related tags found
1 merge request!4[#1694022]: support of empty verification file.
Pipeline #329089 passed
......@@ -211,11 +211,10 @@ function site_verify_get_engines() {
*/
function site_verify_output($svid) {
$verification = site_verify_load($svid);
if ($verification['file_contents'] && $verification['engine']['file_contents']) {
if ($verification['file'] && $verification['engine']['file_contents']) {
echo $verification['file_contents'];
return;
}
else {
drupal_set_title(t('Verification page'));
return t('This is a verification page for the !title search engine.', array('!title' => $verification['engine']['name']));
}
drupal_not_found();
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment