git://git.jankratochvil.net
/
nethome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1a5ace3
)
Make 'path_priv' configurable.
author
short
<>
Wed, 8 Oct 2003 17:22:41 +0000
(17:22 +0000)
committer
short
<>
Wed, 8 Oct 2003 17:22:41 +0000
(17:22 +0000)
public_html/cgi-bin/postget.php
patch
|
blob
|
history
diff --git
a/public_html/cgi-bin/postget.php
b/public_html/cgi-bin/postget.php
index
cb76852
..
8ebabc7
100644
(file)
--- a/
public_html/cgi-bin/postget.php
+++ b/
public_html/cgi-bin/postget.php
@@
-1,4
+1,5
@@
<?php
<?php
+ $path_priv="/home/lace/priv/";
$getget=isset($HTTP_GET_VARS["_getget"]);
$wherename=($getget ? "_getget" : "_postget");
$where=$HTTP_GET_VARS[$wherename];
$getget=isset($HTTP_GET_VARS["_getget"]);
$wherename=($getget ? "_getget" : "_postget");
$where=$HTTP_GET_VARS[$wherename];
@@
-15,7
+16,7
@@
."<br />"
);
else
."<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*/)));
}
}
}
}