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;
	}
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;
	}
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 ; }
Get array data from file

@param $name
@param bool $exists
@return array
Get array data from file