Skylark.patch

Jan DolinĂ¡r, 04/19/2015 08:34 PM

Download (927 Bytes)

View differences:

uppsrc/Skylark/App.cpp (working copy)
173 173
{
174 174
//	DisableHUP();
175 175
	if(static_dir.GetCount() == 0)
176
		static_dir = root + "/static";
176
		static_dir = root.IsEmpty() ? "static" : (root + "/static");
177 177

  
178 178
	SqlSession::PerThread();
179 179
	SqlId::UseQuotes();
uppsrc/Skylark/Static.icpp (working copy)
15 15
	
16 16
	String path = GetFileOnPath(file, SkylarkApp::Config().path, false);
17 17
	if(path.GetCount())
18
		return SkylarkApp::Config().static_dir + "/ver" + GetFileTimeText(path) + "/" + file;
18
		return "/" + SkylarkApp::Config().static_dir + "/ver" + GetFileTimeText(path) + "/" + file;
19 19
	return Null;
20 20
}
21 21