projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cache-Control 'no-store flag' added
[brisk.git]
/
web
/
index_wr.php
diff --git
a/web/index_wr.php
b/web/index_wr.php
index
51fc94a
..
1fa59e8
100644
(file)
--- a/
web/index_wr.php
+++ b/
web/index_wr.php
@@
-33,18
+33,23
@@
require_once("briskin5/Obj/briskin5.phh");
// sleep(5);
// exit;
// }
// sleep(5);
// exit;
// }
-log_load("index_
rd
.php");
+log_load("index_
wr
.php");
if (DEBUGGING == "local" && $_SERVER['REMOTE_ADDR'] != '127.0.0.1') {
echo "Debugging time!";
exit;
}
if (DEBUGGING == "local" && $_SERVER['REMOTE_ADDR'] != '127.0.0.1') {
echo "Debugging time!";
exit;
}
-log_load("index_wr.php");
-
/*
* MAIN
*/
/*
* MAIN
*/
+
+/* if the IP is banned, exit without do nothing */
+if (array_search($_SERVER['REMOTE_ADDR'], $G_black_list) !== FALSE) {
+ sleep(5);
+ exit;
+}
+
$is_spawn = FALSE;
log_wr('COMM: '.$mesg);
$is_spawn = FALSE;
log_wr('COMM: '.$mesg);