hi, every one, when i compile image, i want to change the password ,from dreambox to mybox, i have changed chttpdconfig.h, but the password still is dreambox, what is the problem?
void load()
{
CConfigFile *Config = new CConfigFile(',');
if (Config->loadConfig(CHTTPD_CONFIGFILE))
{
AutoStart = Config->getBool("AutoStart");
Port = Config->getInt32("Port");
THREADS = Config->getBool("THREADS");
Verbose = Config->getBool("VERBOSE");
Log = Config->getBool("LOG");
MustAuthenticate = Config->getBool("Authenticate");
PrivateDocumentRoot = Config->getString("PrivateDocRoot");
PublicDocumentRoot = Config->getString("PublicDocRoot");
AuthUser = Config->getString("AuthUser");
AuthPassword = "mybox";
}
else
{
AutoStart = false;
Port = 8085;
THREADS = true;
Verbose = false;
Log = false;
MustAuthenticate = false;
PrivateDocumentRoot = PRIVATEDOCUMENTROOT;
PublicDocumentRoot = PUBLICDOCUMENTROOT;
AuthUser = "root";
AuthPassword = "mybox";
save();
}
delete Config;