original_string: public static function file( $name, & $exists = false )
  	{
  		if( !defined("APP_DIR") )
  		{
  			return [];
  		}
  
  		$file = APP_DIR . "config" . DIRECTORY_SEPARATOR . $name . '.php';
  		if( file_exists( $file ) )
  		{
  			$data = Helper::includeImport($file);
  			$exists = true;
  		}
  
  		if( ! isset( $data ) || ! is_array( $data ) )
  		{
  			$data = [];
  		}
  
  		return $data;
  	}
code: public static function file( $name, & $exists = false )
  	{
  		if( !defined("APP_DIR") )
  		{
  			return [];
  		}
  
  		$file = APP_DIR . "config" . DIRECTORY_SEPARATOR . $name . '.php';
  		if( file_exists( $file ) )
  		{
  			$data = Helper::includeImport($file);
  			$exists = true;
  		}
  
  		if( ! isset( $data ) || ! is_array( $data ) )
  		{
  			$data = [];
  		}
  
  		return $data;
  	}
code_tokens: public static function file ( $ name , & $ exists = false ) { if ( ! defined ( "APP_DIR" ) ) { return [ ] ; } $ file = APP_DIR . "config" . DIRECTORY_SEPARATOR . $ name . '.php' ; if ( file_exists ( $ file ) ) { $ data = Helper :: includeImport ( $ file ) ; $ exists = true ; } if ( ! isset ( $ data ) || ! is_array ( $ data ) ) { $ data = [ ] ; } return $ data ; }
docstring: Get array data from file
  
  @param $name
  @param bool $exists
  @return array
docstring_tokens: Get array data from file