Skip to content

Commit 81e9b89

Browse files
committed
Update Diskover.php
1 parent 4f2fcce commit 81e9b89

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

diskover-web/src/diskover/Diskover.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ function handleError($e, $redirect = true, $ajax = false, $throwexception = fals
456456
}
457457
if ($redirect) {
458458
// set error cookie to expire 1 hour
459-
setCookie('error', $e, time()+3600);
459+
setCookie('error', $e, time()+3600, "/");
460460
// redirect to error page
461461
if (strpos($_SERVER['REQUEST_URI'], 'tasks/') !== false) {
462462
header('Location: ../error.php');

0 commit comments

Comments
 (0)