original_string: public static function loadConfigFiles () {
  		// Read configuration file from ini file
  		if ( self::isTenant() ) {
  			if ( file_exists( TENANT_PATH . DS . self::getSiteName() . DS . 'settings.ini' ) ) {
  				App::uses('IniReader', 'Configure');
  				Configure::config('ini', new IniReader( TENANT_PATH . DS . self::getSiteName() . DS ));				
  				Configure::load( 'settings', 'ini');
  
  
  				App::uses('CakeNumber', 'Utility');
  				CakeNumber::defaultCurrency(Configure::read('Geo.currency_code'));
  
  			}	else {
  				throw new CakeException("El archivo de configuracion para el sitio ". self::getSiteName(). " no pudo ser encontrado");
  			}	
  		}
  	}
code: public static function loadConfigFiles () {
  		// Read configuration file from ini file
  		if ( self::isTenant() ) {
  			if ( file_exists( TENANT_PATH . DS . self::getSiteName() . DS . 'settings.ini' ) ) {
  				App::uses('IniReader', 'Configure');
  				Configure::config('ini', new IniReader( TENANT_PATH . DS . self::getSiteName() . DS ));				
  				Configure::load( 'settings', 'ini');
  
  
  				App::uses('CakeNumber', 'Utility');
  				CakeNumber::defaultCurrency(Configure::read('Geo.currency_code'));
  
  			}	else {
  				throw new CakeException("El archivo de configuracion para el sitio ". self::getSiteName(). " no pudo ser encontrado");
  			}	
  		}
  	}
code_tokens: public static function loadConfigFiles ( ) { // Read configuration file from ini file if ( self :: isTenant ( ) ) { if ( file_exists ( TENANT_PATH . DS . self :: getSiteName ( ) . DS . 'settings.ini' ) ) { App :: uses ( 'IniReader' , 'Configure' ) ; Configure :: config ( 'ini' , new IniReader ( TENANT_PATH . DS . self :: getSiteName ( ) . DS ) ) ; Configure :: load ( 'settings' , 'ini' ) ; App :: uses ( 'CakeNumber' , 'Utility' ) ; CakeNumber :: defaultCurrency ( Configure :: read ( 'Geo.currency_code' ) ) ; } else { throw new CakeException ( "El archivo de configuracion para el sitio " . self :: getSiteName ( ) . " no pudo ser encontrado" ) ; } } }
docstring: Loads settings files from Tenant folder
docstring_tokens: Loads settings files from Tenant folder