aboutsummaryrefslogtreecommitdiff
path: root/bin/index.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2016-02-03 21:12:17 +0100
committerChristian Weiske <cweiske@cweiske.de>2016-02-03 21:12:17 +0100
commit88c741c09b664260f826ff947bfaab071ac70d05 (patch)
treeb2f7417aee5979d4bd994b929f71d518a3604aa0 /bin/index.php
parentfab8cabe19ac99e3c8a95abcea3c0569b67045bb (diff)
downloadphinde-88c741c09b664260f826ff947bfaab071ac70d05.tar.gz
phinde-88c741c09b664260f826ff947bfaab071ac70d05.zip
add site search, highlighting
Diffstat (limited to 'bin/index.php')
-rwxr-xr-xbin/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/index.php b/bin/index.php
index eb82df2..8ac08ce 100755
--- a/bin/index.php
+++ b/bin/index.php
@@ -61,6 +61,7 @@ $doc = new \DOMDocument();
$sx = simplexml_import_dom($doc);
$indexDoc->url = $url;
+$indexDoc->schemalessUrl = Helper::noSchema($url);
$indexDoc->type = 'html';
$indexDoc->subtype = '';
$indexDoc->mimetype = $mimetype;