Commit f9e99f13 authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Minor cleanup

parent 2119918f
...@@ -29,7 +29,7 @@ define('INTERNAL', 1); ...@@ -29,7 +29,7 @@ define('INTERNAL', 1);
require(dirname(dirname(__FILE__)) . '/init.php'); require(dirname(dirname(__FILE__)) . '/init.php');
require('searchlib.php'); require('searchlib.php');
safe_require('search', 'internal', 'lib.php', 'require_once'); safe_require('search', 'internal');
try { try {
$query = param_variable('query'); $query = param_variable('query');
...@@ -57,6 +57,6 @@ foreach ($data['data'] as &$result) { ...@@ -57,6 +57,6 @@ foreach ($data['data'] as &$result) {
json_headers(); json_headers();
$data['error'] = false; $data['error'] = false;
$data['message'] = ''; $data['message'] = '';
print json_encode($data); echo json_encode($data);
?> ?>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment