Allow usage in a subdir of a host.
[phorkie.git] / www / search.php
index 9c7ff6e5c77a2cb9ac549b15eb736c66f9842403..2f2de2e6465e6eaa8514f1f222759c40d58ed818 100644 (file)
@@ -7,7 +7,7 @@ $reqWritePermissions = false;
 require_once 'www-header.php';
 
 if (!isset($_GET['q']) || $_GET['q'] == '') {
-    header('Location: ' . Tools::fullUrl('/list'));
+    header('Location: ' . Tools::fullUrl('list'));
     exit();
 }
 $query = $_GET['q'];