Skip to content
Snippets Groups Projects
Commit 56af87bb authored by Sebastien Ponce's avatar Sebastien Ponce
Browse files

Added default castor.conf filename to the getConfig method

parent c5517071
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,7 @@ namespace castor {
* static method for getting a given configuration
* @param fileName the name of the file to be used for filling this configuration
*/
static CastorConfiguration& getConfig(const std::string filename)
static CastorConfiguration& getConfig(const std::string filename = "/etc/castor/castor.conf")
throw (castor::exception::Exception);
public:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment