lenya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject cvs commit: cocoon-lenya/src/java/org/apache/lenya/cms/cocoon/acting RevisionControllerAction.java
Date Fri, 08 Aug 2003 09:09:44 GMT
egli        2003/08/08 02:09:44

  Modified:    src/java/org/apache/lenya/cms/cocoon/acting
                        RevisionControllerAction.java
  Log:
  Instead of hardcoding it use the CONTENT_PATH from the
  Publication.
  
  Revision  Changes    Path
  1.23      +10 -3     cocoon-lenya/src/java/org/apache/lenya/cms/cocoon/acting/RevisionControllerAction.java
  
  Index: RevisionControllerAction.java
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/cocoon/acting/RevisionControllerAction.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- RevisionControllerAction.java	23 Jul 2003 14:43:34 -0000	1.22
  +++ RevisionControllerAction.java	8 Aug 2003 09:09:44 -0000	1.23
  @@ -153,8 +153,15 @@
           getLogger().debug(".act(): Identity: " + identityTwo);
   
           String docId = request.getParameter("documentid");
  -		String authoringPath = File.separator+"content" + File.separator + Publication.AUTHORING_AREA;
  -        filename = authoringPath + File.separator+docId.replace('/', File.separatorChar);
  +        String authoringPath =
  +            File.separator
  +                + Publication.CONTENT_PATH
  +                + File.separator
  +                + Publication.AUTHORING_AREA;
  +        filename =
  +            authoringPath
  +                + File.separator
  +                + docId.replace('/', File.separatorChar);
           getLogger().debug(".act(): publicationAuthPath + docId : " + authoringPath + "
: " + docId);
           username = null;
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org


Mime
View raw message