test
This commit is contained in:
@@ -1317,9 +1317,9 @@ void komodo_configfile(char *symbol,uint16_t port)
|
|||||||
sprintf(buf,"%s.conf",symbol);
|
sprintf(buf,"%s.conf",symbol);
|
||||||
BITCOIND_PORT = port;
|
BITCOIND_PORT = port;
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
sprintf(fname,"%s\\assets\\%s",GetDataDir(false).string().c_str(),buf);
|
sprintf(fname,"%s\\%s",GetDataDir(false).string().c_str(),buf);
|
||||||
#else
|
#else
|
||||||
sprintf(fname,"%s/assets/%s",GetDataDir(false).string().c_str(),buf);
|
sprintf(fname,"%s/%s",GetDataDir(false).string().c_str(),buf);
|
||||||
#endif
|
#endif
|
||||||
if ( (fp= fopen(fname,"rb")) == 0 )
|
if ( (fp= fopen(fname,"rb")) == 0 )
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -526,8 +526,8 @@ const boost::filesystem::path &GetDataDir(bool fNetSpecific)
|
|||||||
path /= BaseParams().DataDir();
|
path /= BaseParams().DataDir();
|
||||||
|
|
||||||
fs::create_directories(path);
|
fs::create_directories(path);
|
||||||
std::string assetpath = path + "/assets";
|
//std::string assetpath = path + "/assets";
|
||||||
boost::filesystem::create_directory(assetpath);
|
//boost::filesystem::create_directory(assetpath);
|
||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user