Changeset 752 for trunk/newpage.cgi

Show
Ignore:
Timestamp:
04/04/06 22:06:14 (3 years ago)
Author:
dom
Message:

More mod_perl fixes.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/newpage.cgi

    r658 r752  
    3030} 
    3131 
    32 exit 0; 
    33  
    3432sub show_form { 
    3533    print OpenGuides::Template->output( wiki     => $wiki, 
     
    5755                          message       => "Please enter a page name!", 
    5856                          return_url    => "newpage.cgi" } ); 
    59         exit 0; 
     57        return 0; 
    6058    } 
    6159 
     
    8280            } 
    8381        ); 
    84         exit 0; 
     82        return 0; 
    8583    } 
    8684 
     
    8886    my $node_param = $wiki->formatter->node_name_to_node_param($pagename); 
    8987    print "Location: ".$config->script_url.$config->script_name."?action=edit;id=$node_param\n\n"; 
    90     exit 0; 
     88    return 0; 
    9189} 
    9290