Bots renamed & stats fixed

This commit is contained in:
magnolia-fan 2011-04-02 22:10:44 +04:00
parent 7f1932954c
commit 96eed6ac9e
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ remixsid = "47c2f5501b22a3e3aa6947e5e74d1a72381267df2502570eb75c94481ade"
remixchk = "5" remixchk = "5"
user_agent = "Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13" user_agent = "Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13"
[Green] [Mozart]
user_id = "69139853" user_id = "69139853"
email = "alexgreen1978@gmail.com" email = "alexgreen1978@gmail.com"
password = "fbcn136" password = "fbcn136"
@ -14,7 +14,7 @@ remixsid = "bc5386a4f49f8bf7df20e11bdd311a7120818d83c23d93cd08177d5d3674"
remixchk = "5" remixchk = "5"
user_agent = "Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/532.9 (KHTML, like Gecko) Chrome/5.0.307.9 Safari/532.9" user_agent = "Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/532.9 (KHTML, like Gecko) Chrome/5.0.307.9 Safari/532.9"
[Chez] [Schubert]
user_id = "1217744" user_id = "1217744"
email = "phpdev.ru@gmail.com" email = "phpdev.ru@gmail.com"
password = "yanebach!" password = "yanebach!"

View File

@ -16,7 +16,7 @@ foreach($tmp as $bfile) {
} }
foreach($bots as $name => $bot) { foreach($bots as $name => $bot) {
$tmp = exec("ps ".$bot->pid); $tmp = exec("ps ".$bot->pid);
$bot->active = (int) (strpos($bot->pid, $tmp) !== false); $bot->active = (int) (strpos($tmp, strval($bot->pid)) !== false);
} }
?> ?>
<html> <html>