Move the definition of _SKINDIR_ elsewhere

It's only used in WebModules.cpp and in contrast to the other #defines from
main.h, this one is not set in configure by default.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1996 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2010-05-17 12:56:23 +00:00
parent 7b0526b690
commit b1339657ef
2 changed files with 3 additions and 4 deletions
+3
View File
@@ -11,6 +11,9 @@
#include "znc.h"
#include <sstream>
/// @todo Do we want to make this a configure option?
#define _SKINDIR_ _DATADIR_ "/webskins"
// Sessions are valid for a day, (24h, ...)
CWebSessionMap CWebSock::m_mspSessions(24 * 60 * 60 * 1000);