Changeset 1735

Show
Ignore:
Timestamp:
08/28/08 13:01:32 (4 months ago)
Author:
lmajano
Message:

#558
definition file validation algorithm reversed to do local first, expand second and absolute last.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • coldbox/trunk/system/plugins/ioc.cfc

    r1558 r1735  
    229229                        }                
    230230                         
    231                         /* Absolute Path Check */ 
    232                         if( fileExists(getIOCDefinitionFile()) ){ 
    233                                 setExpandedIOCDefinitionFile( getIOCDefinitionFile() ); 
    234                         } 
    235231                        /* Relative App Path Check */ 
    236                         else if( fileExists(appRoot & getIOCDefinitionFile()) ){ 
     232                        if( fileExists(appRoot & getIOCDefinitionFile()) ){ 
    237233                                setExpandedIOCDefinitionFile( appRoot & getIOCDefinitionFile() ); 
    238234                        } 
     
    240236                        else if( fileExists( expandPath(getIOCDefinitionFile()) ) ){ 
    241237                                setExpandedIOCDefinitionFile( ExpandPath(getIOCDefinitionFile()) ); 
     238                        } 
     239                        /* Absolute Path Check */ 
     240                        else if( fileExists(getIOCDefinitionFile()) ){ 
     241                                setExpandedIOCDefinitionFile( getIOCDefinitionFile() ); 
    242242                        } 
    243243                        else{ 

Copyright 2006 ColdBox Framework by Luis Majano