mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-02 11:04:00 +01:00
show version
This commit is contained in:
parent
ae61e47bc2
commit
5d63f71c55
|
@ -4,6 +4,7 @@
|
|||
|
||||
#include "Log.h"
|
||||
#include "base64.h"
|
||||
#include "version.h"
|
||||
#include "Transports.h"
|
||||
#include "NTCPSession.h"
|
||||
#include "RouterInfo.h"
|
||||
|
@ -54,6 +55,7 @@ namespace i2p
|
|||
i2p::context.Init ();
|
||||
|
||||
LogPrint("\n\n\n\ni2pd starting\n");
|
||||
LogPrint("Version ", VERSION);
|
||||
LogPrint("data directory: ", i2p::util::filesystem::GetDataDir().string());
|
||||
i2p::util::filesystem::ReadConfigFile(i2p::util::config::mapArgs, i2p::util::config::mapMultiArgs);
|
||||
|
||||
|
|
|
@ -624,7 +624,7 @@ namespace util
|
|||
s << "<head><meta charset=\"utf-8\" />"; // TODO: Find something to parse html/template system. This is horrible.
|
||||
s << "<link rel='shortcut icon' href='";
|
||||
s << itoopieFavicon;
|
||||
s << "' /><title>Purple I2P Webconsole</title></head>";
|
||||
s << "' /><title>Purple I2P " << VERSION " Webconsole</title></head>";
|
||||
// Head end
|
||||
if (address.length () > 1)
|
||||
HandleCommand (address.substr (2), s);
|
||||
|
|
12
version.h
12
version.h
|
@ -1,18 +1,8 @@
|
|||
#ifndef _VERSION_H_
|
||||
#define _VERSION_H_
|
||||
|
||||
#include "HTTPServer.h"
|
||||
|
||||
#define CODENAME "Purple"
|
||||
|
||||
#define VERSION "0.1.0"
|
||||
#define I2P_VERSION "0.9.15"
|
||||
|
||||
|
||||
/* TEMPORARY STORE FOR IMAGE CODES */
|
||||
|
||||
#define ICTOOPIE_128 i2p::util::HTTPConnection::itoopieImage
|
||||
|
||||
#define ICTOOPIE_64_FAVICON i2p::util::HTTPConnection::itoopieFavicon
|
||||
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue