Switch to unified view

a/src/common/rclconfig.cpp b/src/common/rclconfig.cpp
1
#ifndef lint
1
#ifndef lint
2
static char rcsid[] = "@(#$Id: rclconfig.cpp,v 1.49 2007-06-22 06:14:04 dockes Exp $ (C) 2004 J.F.Dockes";
2
static char rcsid[] = "@(#$Id: rclconfig.cpp,v 1.50 2007-10-01 06:19:21 dockes Exp $ (C) 2004 J.F.Dockes";
3
#endif
3
#endif
4
/*
4
/*
5
 *   This program is free software; you can redistribute it and/or modify
5
 *   This program is free software; you can redistribute it and/or modify
6
 *   it under the terms of the GNU General Public License as published by
6
 *   it under the terms of the GNU General Public License as published by
7
 *   the Free Software Foundation; either version 2 of the License, or
7
 *   the Free Software Foundation; either version 2 of the License, or
...
...
105
    list<string> cdirs;
105
    list<string> cdirs;
106
    cdirs.push_back(m_confdir);
106
    cdirs.push_back(m_confdir);
107
    cdirs.push_back(path_cat(m_datadir, "examples"));
107
    cdirs.push_back(path_cat(m_datadir, "examples"));
108
    string cnferrloc = m_confdir + " or " + path_cat(m_datadir, "examples");
108
    string cnferrloc = m_confdir + " or " + path_cat(m_datadir, "examples");
109
109
110
    m_conf = new ConfStack<ConfTree>("recoll.conf", cdirs, true);
110
    m_conf = new ConfStack<ConfTree>("recoll.conf", cdirs, false);
111
    if (m_conf == 0 || !m_conf->ok()) {
111
    if (m_conf == 0 || !m_conf->ok()) {
112
    m_reason = string("No/bad main configuration file in: ") + cnferrloc;
112
    m_reason = string("No/bad main configuration file in: ") + cnferrloc;
113
    return;
113
    return;
114
    }
114
    }
115
115