Author: dieppe
Date: 2008-02-26 21:57:52 +0000 (Tue, 26 Feb 2008)
New Revision: 18170
Modified:
trunk/apps/thingamablog/src/net/sf/thingamablog/blog/TBWeblog.java
Log:
Small bug fix (the css wasn't publish each time)
Modified: trunk/apps/thingamablog/src/net/sf/thingamablog/blog/TBWeblog.java
===================================================================
--- trunk/apps/thingamablog/src/net/sf/thingamablog/blog/TBWeblog.java
2008-02-26 17:35:19 UTC (rev 18169)
+++ trunk/apps/thingamablog/src/net/sf/thingamablog/blog/TBWeblog.java
2008-02-26 21:57:52 UTC (rev 18170)
@@ -1000,7 +1000,7 @@
{
Object element = e.nextElement();
File f = (File)element;
-
if(f.getAbsolutePath().indexOf(webFilesDirectory.getAbsolutePath()) > -1)
+
if(!f.getAbsolutePath().startsWith(webFilesDirectory.getAbsolutePath()))
f.delete();
}
catch(ClassCastException cce){}