mirror of
https://github.com/anope/anope.git
synced 2026-07-08 12:03:14 +02:00
Split up db/conf/lib/locale install directories, and allow alternate ones to be specified at runtime
This commit is contained in:
+1
-1
@@ -1064,7 +1064,7 @@ bool ConfigurationFile::IsOpen() const
|
||||
bool ConfigurationFile::Open()
|
||||
{
|
||||
this->Close();
|
||||
this->fp = (this->executable ? popen(this->name.c_str(), "r") : fopen(this->name.c_str(), "r"));
|
||||
this->fp = (this->executable ? popen(this->name.c_str(), "r") : fopen((conf_dir + "/" + this->name).c_str(), "r"));
|
||||
return this->fp != NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user