shithub: werc

Download patch

ref: e48ae2602e271104b6131206af96de92c20e7084
parent: fa39c5d28171e56fae0ccf37ef0699ea900ab9c1
author: uriel <[email protected]>
date: Tue Dec 30 19:16:17 EST 2008

Minor code simplificaton.

--- a/apps/blagh/app.rc
+++ b/apps/blagh/app.rc
@@ -8,7 +8,6 @@
         blagh_uri=`{echo $req_path|sed 's/index(\.(atom|rss))?$//'}
         blagh_url=$base_uri^$blagh_root_path
         blagh_root=$sitedir^$blagh_uri
-        dprint $blagh_root
 
         if(~ $req_path */[0-9][0-9][0-9][0-9]/ */[0-9][0-9][0-9][0-9]/[0-9][0-9]/ */[0-9][0-9][0-9][0-9]/[0-9][0-9]/[0-9][0-9]/)
             status='Use default handler'
@@ -27,11 +26,7 @@
                 master_template=_apps/blagh/atom.tpl
             if not if(~ $req_path */index.rss)
                 master_template=_apps/blagh/rss20.tpl
-            if not 
-                dprint XXXX $req_path
         }
-
-        status=()
     }
 }