From f2e9dc834328c48e89283c8fa66d5d1a0750ac84 Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Mon, 17 Aug 2020 20:32:42 +0200 Subject: [PATCH] Made strict sphinx schema the default Signed-off-by: Janos SUTO --- config.php.in | 2 +- etc/sphinx.conf.in | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config.php.in b/config.php.in index f7903b79..146b2d18 100644 --- a/config.php.in +++ b/config.php.in @@ -238,7 +238,7 @@ $config['SPHINX_MAIN_INDEX'] = 'main1,dailydelta1,delta1'; $config['SPHINX_ATTACHMENT_INDEX'] = 'att1'; $config['SPHINX_TAG_INDEX'] = 'tag1'; $config['SPHINX_NOTE_INDEX'] = 'note1'; -$config['SPHINX_STRICT_SCHEMA'] = 0; +$config['SPHINX_STRICT_SCHEMA'] = 1; $config['RELOAD_COMMAND'] = 'sudo -n /etc/init.d/rc.piler reload'; $config['PILERIMPORT_IMAP_COMMAND'] = '/usr/local/bin/pilerimport -d /var/piler/imap -q -r'; diff --git a/etc/sphinx.conf.in b/etc/sphinx.conf.in index cb0a8a62..a4b21591 100644 --- a/etc/sphinx.conf.in +++ b/etc/sphinx.conf.in @@ -1,7 +1,7 @@ #!/usr/bin/php