Line 46... |
Line 46... |
46 |
// pour utiliser Sphinx, cela désactive alors l'appel à $moteur->rechercherMotif()
|
46 |
// pour utiliser Sphinx, cela désactive alors l'appel à $moteur->rechercherMotif()
|
47 |
// et utilise sphinx_search() (moteur_recherche_sphinx.php)
|
47 |
// et utilise sphinx_search() (moteur_recherche_sphinx.php)
|
48 |
// TODO: un test avec mysql_connect() sur le SPHINX_DSN tel que défini dans moteur_recherche_sphinx.php
|
48 |
// TODO: un test avec mysql_connect() sur le SPHINX_DSN tel que défini dans moteur_recherche_sphinx.php
|
49 |
// pourrait être un plus.
|
49 |
// pourrait être un plus.
|
50 |
define('USE_SPHINX', TRUE);
|
50 |
define('USE_SPHINX', TRUE);
|
- |
|
51 |
// XXX: PHP-5.4
|
- |
|
52 |
if(!defined('ENT_HTML401')) {
|
- |
|
53 |
define('ENT_HTML401', ENT_COMPAT);
|
51 |
|
54 |
}
|
Line 52... |
Line 55... |
52 |
|
55 |
|
53 |
// +------------------------------------------------------------------------------------------------------+
|
56 |
// +------------------------------------------------------------------------------------------------------+
|
54 |
// | ENTETE du PROGRAMME |
|
57 |
// | ENTETE du PROGRAMME |
|
55 |
// +------------------------------------------------------------------------------------------------------+
|
58 |
// +------------------------------------------------------------------------------------------------------+
|