dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Typo
[lhc/web/wiklou.git]
/
includes
/
proxy_check.php
diff --git
a/includes/proxy_check.php
b/includes/proxy_check.php
index
0b33e12
..
61995fe
100644
(file)
--- a/
includes/proxy_check.php
+++ b/
includes/proxy_check.php
@@
-3,6
+3,10
@@
* Command line script to check for an open proxy at a specified location
*/
+if( php_sapi_name() != 'cli' ) {
+ die( 1 );
+}
+
/**
*
*/
@@
-46,5
+50,3
@@
if ( ( isset( $_REQUEST ) && array_key_exists( 'argv', $_REQUEST ) ) || count( $
$output = escapeshellarg( $output );
#`echo $output >> /home/tstarling/open/proxy.log`;
-
-?>