diff --git a/gemhltv_news b/gemhltv_news index 481fd14..01dce48 100755 --- a/gemhltv_news +++ b/gemhltv_news @@ -7,18 +7,11 @@ $LOGO_FILE = "/var/gemini-data/logos/gemhltv_news"; # ^^^^^^^^ path to file containing the text to be displayed at the top of the # page -$READER_LINK = dirname($abs_path) . "/reader"; +$READER_LINK = dirname(__PATH__) . "/reader"; # ^^^^^^^^^^ uri path to an instance of reader.php # the default is relative, and assumes you have one in the same directory as # this script -$abs_path = "gemini://" . getenv("SERVER_NAME") . getenv("SCRIPT_NAME"); - - -$abs_path = "gemini://" - . getenv("SERVER_NAME") - . getenv("SCRIPT_NAME"); - $feed_title = ""; $node_description = ""; $feed = new XMLReader;