require_once() for including files in /include so we can have include/*.php files include their own dependencies rather than figuring out that to include A.php we need to include B.php
21 lines
410 B
PHP
21 lines
410 B
PHP
<?php
|
|
/**
|
|
* Search engine.
|
|
*
|
|
* Mandatory parameters:
|
|
* - sSearchQuery, user search query
|
|
*
|
|
* TODO:
|
|
* - prefix perform_search_and_output_results with a module prefix
|
|
*/
|
|
|
|
// application environment
|
|
require("path.php");
|
|
require(BASE."include/incl.php");
|
|
require(BASE."include/filter.php");
|
|
|
|
apidb_header("Search Results");
|
|
perform_search_and_output_results($aClean['sSearchQuery']);
|
|
apidb_footer();
|
|
?>
|