Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 2119 → Rev 2120

/trunk/papyrus/applettes/moteur_recherche/moteur_recherche.php
211,7 → 211,7
if(USE_SPHINX && $sphinx) {
require_once("moteur_recherche_sphinx.php");
$sphinx_connect = @mysql_connect(SPHINX_DSN, NULL, NULL, TRUE);
error_log("sphinx: can't connect to " . SPHINX_DSN . ", traditionnal SQL fallback [moteur_recherche.php]");
if(!$sphinx_connect) error_log("sphinx: can't connect to " . SPHINX_DSN . ", traditionnal SQL fallback [moteur_recherche.php]");
}
if(!$sphinx_connect) {
// recherche traditionnelle