The script now points to itself!
authorMatthew Thiffault <mthiffau@csclub.uwaterloo.ca>
Wed, 11 Mar 2009 03:58:20 +0000 (23:58 -0400)
committerMatthew Thiffault <mthiffau@csclub.uwaterloo.ca>
Wed, 11 Mar 2009 03:58:20 +0000 (23:58 -0400)
library/index.cgi

index 1609553..1c04396 100755 (executable)
@@ -16,7 +16,7 @@ $in = $ENV{'QUERY_STRING'};
 @pairs = split(/[&=]/,$in);
 %fields = @pairs;
 chomp(%fields);
-$webroot = "../../..";
+$webroot = "..";
 
 print <<END;
 
@@ -63,7 +63,7 @@ if($fields{'do'} eq "home" || $fields{'do'} eq ""){
 
     <table>
 
-    <form name="search" action="library.cgi" method="get">
+    <form name="search" action="index.cgi" method="get">
        <input type="hidden" name="do" value="query" />
        
        <tr><td>Title:</td> <td><input type="text" name="title" /></td></tr>