Ignore:
Timestamp:
12/14/12 14:30:35 (11 years ago)
Author:
douglasz
Message:

Ticket #3236 - Melhorias de performance no codigo do Expresso.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/security/captcha.php

    r3448 r7655  
    6161      $CharPool   = array_merge($uppercase, $numeric); 
    6262      $PoolLength = count($CharPool) - 1; 
    63       for ($i = 0; $i < $this->Length; $i++) 
     63      for ($i = 0; $i < $this->Length; ++$i) 
    6464      { 
    6565        $this->CaptchaString .= $CharPool[mt_rand(0, $PoolLength)]; 
     
    108108 
    109109        /* Put some elipses */ 
    110       for ($i=0; $i < 5; $i++) 
     110      for ($i=0; $i < 5; ++$i) 
    111111      { 
    112112              $col_ellipse = imagecolorallocate($src, rand (60,255), rand(60,255), rand(60, 255)); 
     
    115115 
    116116        /* Put some vertical lines*/ 
    117       for ($i=0; $i < 5; $i++) 
     117      for ($i=0; $i < 5; ++$i) 
    118118      { 
    119119              $xr = rand(0,130); 
     
    123123 
    124124        /*Put some horizontal lines*/ 
    125       for ($i=0; $i < 5; $i++) 
     125      for ($i=0; $i < 5; ++$i) 
    126126      { 
    127127              $xr = rand(0,130); 
Note: See TracChangeset for help on using the changeset viewer.