Adding more features to Matrix v2

This commit is contained in:
Yung Han Khoe 2008-11-18 18:11:16 +00:00
parent 7f3193f08e
commit 5169cb5e11
5 changed files with 157 additions and 80 deletions

View file

@ -325,9 +325,9 @@ sub incrementCounter {
my $counter = shift;
my $currentIp = $self->session->env->get("HTTP_X_FORWARDED_FOR");
print "current ip: ".$currentIp."<br>";
#print "current ip: ".$currentIp."<br>";
print "dsfsdf lastIp : ".$self->get($counter."LastIp")."<br>";
#print "dsfsdf lastIp : ".$self->get($counter."LastIp")."<br>";
unless ($self->get($counter."LastIp") eq $currentIp) {
$self->update({
$counter."LastIp" => $currentIp,