| 1 |
<?php
|
| 2 |
/*
|
| 3 |
* Copyright (C) October 2006 Jonathan Hendler
|
| 4 |
*
|
| 5 |
* This program is free software; you can redistribute it and/or
|
| 6 |
* modify it under the terms of the GNU General Public License
|
| 7 |
* as published by the Free Software Foundation; either version 2
|
| 8 |
* of the License, or (at your option) any later version.
|
| 9 |
*
|
| 10 |
* This program is distributed in the hope that it will be useful,
|
| 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 13 |
* GNU General Public License for more details.
|
| 14 |
*
|
| 15 |
* You should have received a copy of the GNU General Public License
|
| 16 |
* along with this program; if not, write to the Free Software
|
| 17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
| 18 |
*
|
| 19 |
* The author can be contacted at:
|
| 20 |
* - jonathan [at] civicactions (dot) com
|
| 21 |
*
|
| 22 |
* @license http://www.affero.org/oagpl.html
|
| 23 |
* @link http://drupal.org/project/semantic_search
|
| 24 |
*/
|
| 25 |
|
| 26 |
/**
|
| 27 |
* detect location
|
| 28 |
* */
|
| 29 |
define('SEMANTIC_SEARCH_LOCATION',dirname(__FILE__).'/');
|
| 30 |
|
| 31 |
/**
|
| 32 |
* config settings
|
| 33 |
* */
|
| 34 |
require 'semantic_search.conf.inc';
|
| 35 |
|
| 36 |
/**
|
| 37 |
* constants which should not need to be changed
|
| 38 |
*/
|
| 39 |
require SEMANTIC_SEARCH_LOCATION . 'conf/semantic_search.constants.inc';
|
| 40 |
|
| 41 |
define('SONIA_LOCATION',SEMANTIC_SEARCH_LOCATION.'contrib/SONIA/');
|
| 42 |
|
| 43 |
/**
|
| 44 |
* include sonia
|
| 45 |
* */
|
| 46 |
require SONIA_LOCATION .'sonia.defaults.inc';
|
| 47 |
require SONIA_LOCATION .'sonia.const.inc';
|
| 48 |
require SONIA_LOCATION .'sonia.includes.inc';
|
| 49 |
require SONIA_LOCATION .'sonia.php';
|
| 50 |
|
| 51 |
/**
|
| 52 |
* automated search form generation
|
| 53 |
* */
|
| 54 |
require SEMANTIC_SEARCH_INCLUDE_LOCATION . 'semantic_search.searches.inc';
|
| 55 |
|
| 56 |
/**
|
| 57 |
* localized language file
|
| 58 |
*
|
| 59 |
* @todo should be handled via drupal
|
| 60 |
* */
|
| 61 |
require SEMANTIC_SEARCH_INCLUDE_LOCATION . 'semantic_search.lang.inc';
|
| 62 |
|
| 63 |
/**
|
| 64 |
* search and related functions (a class)
|
| 65 |
* */
|
| 66 |
require SEMANTIC_SEARCH_INCLUDE_LOCATION . 'semantic_search.search.inc';
|
| 67 |
|
| 68 |
/**
|
| 69 |
* functions to construct elements of navigation of searches
|
| 70 |
* */
|
| 71 |
require SEMANTIC_SEARCH_INCLUDE_LOCATION . 'semantic_search.search.navigation.inc';
|
| 72 |
|
| 73 |
/**
|
| 74 |
* functions to theme the navigation of searches
|
| 75 |
* */
|
| 76 |
require SEMANTIC_SEARCH_INCLUDE_LOCATION . 'semantic_search.themes.inc';
|
| 77 |
|
| 78 |
/**
|
| 79 |
* static and helper functions
|
| 80 |
* */
|
| 81 |
require SEMANTIC_SEARCH_INCLUDE_LOCATION . 'semantic_search.helpers.inc';
|
| 82 |
|
| 83 |
/**
|
| 84 |
* adminstrative functionality
|
| 85 |
* */
|
| 86 |
require SEMANTIC_SEARCH_INCLUDE_LOCATION . 'semantic_search.admin.inc';
|
| 87 |
|
| 88 |
/**
|
| 89 |
* drupal hooks
|
| 90 |
* */
|
| 91 |
require SEMANTIC_SEARCH_INCLUDE_LOCATION . 'semantic_search.node_hooks.inc';
|