Ignore:
Timestamp:
12/18/12 16:15:29 (11 years ago)
Author:
douglasz
Message:

Ticket #3236 - Correcoes para Performance: Function Within Loop Declaration.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/inc/class.functions.inc.php

    r7655 r7673  
    126126                                $includeFiles[0] = null; 
    127127                                // End Bug fixed. 
    128                         }                                                                                                                
    129                         for($i = 0; $i < count($files); ++$i) { 
     128                        } 
     129            $files_count = count($files); 
     130                        for($i = 0; $i < $files_count; ++$i) { 
    130131                                if(count(explode('.js',$files[$i])) > 1) { 
    131132                                        if($includeFiles  && array_search(trim($files[$i]),$includeFiles)){      
Note: See TracChangeset for help on using the changeset viewer.