git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
page: call handler through index method
[minimedit.git]
/
widget
/
search.php
diff --git
a/widget/search.php
b/widget/search.php
index 6c5788eabc49598da412a43211831f0f72f05f20..fe3b54ee0a9b416f331309c417aff6d79ebfae88 100644
(file)
--- a/
widget/search.php
+++ b/
widget/search.php
@@
-1,7
+1,7
@@
<?php
$limit = @$Page->place['limit'] ?: 10;
$path = ' '.escapeshellarg('*.html');
-$query = @$_REQUEST['q'] ?: $Page->p
ath ?: $Page->handler
;
+$query = @$_REQUEST['q'] ?: $Page->p
lace[0] ?? $Page->link
;
if (!trim($query, '/')) return;