[dev] [surf] load files patch

From: Ethan Grammatikidis <eekee57_AT_fastmail.fm>
Date: Mon, 20 Sep 2010 09:48:16 -0400

A little patch to loaduri() to load a file given on the command line, if
the file exists. If 'uri' does not contain "://" it is tested to be an
existing readable file. If it is, "file://" is prepended, else "http://"
is. I've found that is enough to load files in the current directory,
full paths, and relative paths.

Received on Mon Sep 20 2010 - 15:48:16 CEST

This archive was generated by hypermail 2.2.0 : Mon Sep 20 2010 - 16:00:04 CEST