summaryrefslogtreecommitdiff
path: root/buildscripts/index/search.php
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2014-01-15 19:03:29 +0100
committerFabio Bas <ctrlaltca@gmail.com>2014-01-15 19:03:29 +0100
commitfa51a0a2e3ce4ec4a82a5d2f53fbd50cfcb16528 (patch)
treec7e8326aec8b19edbb82c1a7be678bb5bffdbfec /buildscripts/index/search.php
parentae49488b23722b4e56b18b0492da2f855119d1ae (diff)
Removed ?> from buildscripts and demos
Diffstat (limited to 'buildscripts/index/search.php')
-rw-r--r--buildscripts/index/search.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/buildscripts/index/search.php b/buildscripts/index/search.php
index 23948ca5..ff83e629 100644
--- a/buildscripts/index/search.php
+++ b/buildscripts/index/search.php
@@ -11,7 +11,7 @@ require_once('Zend/Search/Lucene.php');
if($keyword!=='')
{
- $search=new Zend_Search_Lucene(realpath(dirname(__FILE__)));
+ $search=new Zend_Search_Lucene(realpath(dirname(__FILE__)));
$results=$search->find(strtolower($keyword));
$content='';
foreach($results as $entry)
@@ -32,5 +32,3 @@ $page=preg_replace('/<!-- content begin -->.*<!-- content end -->/ms',$content,$
if($keyword!=='')
$page=preg_replace('/<input type="text" name="keyword"/','<input type="text" name="keyword" value="'.htmlentities($keyword).'"',$page);
echo $page;
-
-?> \ No newline at end of file