mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-06-17 06:05:28 -06:00
.uppbox
git-svn-id: svn://ultimatepp.org/upp/trunk@13316 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
3ff649bf8b
commit
69eeb1cec8
1 changed files with 4 additions and 2 deletions
|
|
@ -754,8 +754,6 @@ struct ProgramData {
|
|||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
CONSOLE_APP_MAIN
|
||||
{
|
||||
StdLogSetup(LOG_COUT|LOG_FILE);
|
||||
|
|
@ -774,6 +772,10 @@ CONSOLE_APP_MAIN
|
|||
ProgramData data;
|
||||
|
||||
String configFile = GetHomeDirFile("uppweb.xml");
|
||||
const Vector<String>& cmd = CommandLine();
|
||||
if(cmd.GetCount() && FileExists(cmd[0]))
|
||||
configFile = cmd[0];
|
||||
|
||||
Cout() << "ConfigFile: " << configFile << "\n";
|
||||
bool cfgloaded = false;
|
||||
if (FileExists(configFile)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue