Changeset 752

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

More mod_perl fixes.

Location:
trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/OpenGuides.pm

    r736 r752  
    179179      print "Content-Type: text/plain\n\n"; 
    180180      print $raw; 
    181       exit 0; 
     181      return 0; 
    182182    } 
    183183    
     
    225225            return $output if $return_output; 
    226226            print $output; 
    227             exit 0; 
     227            return 0; 
    228228        } 
    229229    } 
  • 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 
  • trunk/preferences.cgi

    r731 r752  
    2121    show_form(); 
    2222} 
    23  
    24 exit 0; 
    2523 
    2624sub set_preferences {