diff options
author | Nay <dnpd.dd@gmail.com> | 2011-10-29 00:20:56 +0100 |
---|---|---|
committer | Nay <dnpd.dd@gmail.com> | 2011-10-29 00:20:56 +0100 |
commit | accae0ce5037db08bfed13831c57bffe8f9f01e9 (patch) | |
tree | 34c74dfcd14072a2387e6daa99218c73fabdc9af /src | |
parent | c19a6c7e31a8dd6c9b0fb60fb0b65cd78807cbd6 (diff) |
TDB 335.11.43TDB335.11.43
Move SQL updates to the directory old.
Diffstat (limited to 'src')
-rwxr-xr-x | src/server/worldserver/Main.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/server/worldserver/Main.cpp b/src/server/worldserver/Main.cpp index 1ce247d9249..6964c617b25 100755 --- a/src/server/worldserver/Main.cpp +++ b/src/server/worldserver/Main.cpp @@ -20,6 +20,8 @@ /// @{ /// \file +#include <iostream> + #include <openssl/opensslv.h> #include <openssl/crypto.h> #include <ace/Version.h> @@ -133,6 +135,14 @@ extern int main(int argc, char **argv) { sLog->outError("Invalid or missing configuration file : %s", cfg_file); sLog->outError("Verify that the file exists and has \'[worldserver]' written in the top of the file!"); + + char *path=NULL; + size_t size = 0; + int a; + path=getcwd(path,size); + std::cout<<"\n current Path"<<path; + std::cin >> a; + return 1; } sLog->outString("Using configuration file %s.", cfg_file); |