Make 'path_priv' configurable.
[nethome.git] / public_html / cgi-bin / postget.php
index cb76852..8ebabc7 100644 (file)
@@ -1,4 +1,5 @@
 <?php
+       $path_priv="/home/lace/priv/";
        $getget=isset($HTTP_GET_VARS["_getget"]);
        $wherename=($getget ? "_getget" : "_postget");
        $where=$HTTP_GET_VARS[$wherename];
@@ -15,7 +16,7 @@
                                                ."<br />"
                                                );
                        else
-                               $HTTP_GET_VARS[$key]=chop(join(" ",file("/home/short/priv/".$matched[1],false/*use_include_path*/)));
+                               $HTTP_GET_VARS[$key]=chop(join(" ",file($path_priv.$matched[1],false/*use_include_path*/)));
                        }
                }