Commit 6b859022 authored by  JosephK's avatar JosephK

[recovery] mail url (oups)

parent 5314149c
......@@ -17,7 +17,7 @@ function hook_recovery_render_header($data)
unset($_SESSION['tokens'][$_POST['token']]);
$ShaarliURL = (isset($_SERVER['HTTPS']) ? 'https' : 'http') . '://'.$_SERVER['HTTP_HOST'].str_replace($_SERVER['DOCUMENT_ROOT'], '', dirname($_SERVER['SCRIPT_FILENAME'])));
$ShaarliURL = (isset($_SERVER['HTTPS']) ? 'https' : 'http') . '://'.$_SERVER['HTTP_HOST'].str_replace($_SERVER['DOCUMENT_ROOT'], '', dirname($_SERVER['SCRIPT_FILENAME']));
$c = $GLOBALS;
if($GLOBALS['config']['RECOVERY']['attempt'] >= 10) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment