From: joseph s. <joe...@jk...> - 2003-04-20 23:51:28
|
I just did a fresh install of everything the Openinteract-1.58 off sourceforge and had to change the following (base_dir/pkg/base_page-1.24/Openinteract/Page.pm) my $no_extension = $location !~ /\.\(\w+\)$/; my $dir_request = $location =~ m|/$|; # Check to see if this is directory request that corresponds to a # page_directory object... if ( $dir_request or $no_extension ) { $R->DEBUG && $R->scrib( 1, "Testing [$location] as a directory" ); my $dir = eval { $R->page_directory->fetch_by_directory( $location, 'yes' ) }; if ( $@ ) { $R->scrib( 0, "Tried to fetch directory but got error: $@" ); } if ( $dir ) { $R->DEBUG && $R->scrib( 1, "Directory object found ", "[$dir->{directory}]. Returning" ); return $dir; } $R->DEBUG && $R->scrib( 1, "Directory object not found. Continuing..." ); } elsif ( ! $dir_request or $no_extension ) { $page = eval { $R->page->fetch( $location ) }; if ( $@ ) { $R->scrib( 0, "Caught error fetching [$location] as page: $@" ); } elsif ( $page ) { return $page; } } -- joseph speigle www.sirfsup.com jo...@jk... page: 377-7377 (210) |