You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2014/02/08 04:51:05 UTC

svn commit: r1565909 - /myfaces/site/cms-site/trunk/lib/view.pm

Author: lu4242
Date: Sat Feb  8 03:51:05 2014
New Revision: 1565909

URL: http://svn.apache.org/r1565909
Log:
test how to fix documentation

Modified:
    myfaces/site/cms-site/trunk/lib/view.pm

Modified: myfaces/site/cms-site/trunk/lib/view.pm
URL: http://svn.apache.org/viewvc/myfaces/site/cms-site/trunk/lib/view.pm?rev=1565909&r1=1565908&r2=1565909&view=diff
==============================================================================
--- myfaces/site/cms-site/trunk/lib/view.pm (original)
+++ myfaces/site/cms-site/trunk/lib/view.pm Sat Feb  8 03:51:05 2014
@@ -48,7 +48,7 @@ sub single_narrative {
     if ($pagetree) {
         my($ptfile, $ptdir, $ptext) = fileparse($args{path}, qr/\.[^.]*/);
         my $basePath = "$ptdir$ptfile/";
-        if (!(-d "content$page_path")){
+        if (!(-d "content$basePath")){
             $basePath = "$ptdir";
         }
         $args{pagetree} = pagetree("content$basePath");