git://git.jankratochvil.net
/
www.jankratochvil.net.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b17696
)
Sanity check chroot environment.
author
short
<>
Thu, 27 Oct 2005 07:54:15 +0000
(07:54 +0000)
committer
short
<>
Thu, 27 Oct 2005 07:54:15 +0000
(07:54 +0000)
project/Nokia61/Nokia61.php
patch
|
blob
|
history
diff --git
a/project/Nokia61/Nokia61.php
b/project/Nokia61/Nokia61.php
index
79a3db3
..
937631e
100644
(file)
--- a/
project/Nokia61/Nokia61.php
+++ b/
project/Nokia61/Nokia61.php
@@
-67,6
+67,11
@@
global $tables,$bgcolor_head,$bgcolor_body,$HTTP_GET_VARS;
$used[$x]=1;
$filled++;
}
+ // Both popen() and proc_open() require: /bin/sh
+ if ($filled==9 && !is_executable("/bin/sh")) {
+ print "<h1>Current installation environment forbids the execution!</h1>\n";
+ $filled=0;
+ }
if ($filled==9) {
print "<TABLE BORDER=0><TR>";
$cmd="echo -n -e '";