fixed getting current script dir
This commit is contained in:
parent
893abeaacd
commit
7c945997d7
|
@ -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
|
# ^^^^^^^^ path to file containing the text to be displayed at the top of the
|
||||||
# page
|
# page
|
||||||
|
|
||||||
$READER_LINK = dirname($abs_path) . "/reader";
|
$READER_LINK = dirname(__PATH__) . "/reader";
|
||||||
# ^^^^^^^^^^ uri path to an instance of reader.php
|
# ^^^^^^^^^^ uri path to an instance of reader.php
|
||||||
# the default is relative, and assumes you have one in the same directory as
|
# the default is relative, and assumes you have one in the same directory as
|
||||||
# this script
|
# this script
|
||||||
|
|
||||||
$abs_path = "gemini://" . getenv("SERVER_NAME") . getenv("SCRIPT_NAME");
|
|
||||||
|
|
||||||
|
|
||||||
$abs_path = "gemini://"
|
|
||||||
. getenv("SERVER_NAME")
|
|
||||||
. getenv("SCRIPT_NAME");
|
|
||||||
|
|
||||||
$feed_title = "";
|
$feed_title = "";
|
||||||
$node_description = "";
|
$node_description = "";
|
||||||
$feed = new XMLReader;
|
$feed = new XMLReader;
|
||||||
|
|
Loading…
Reference in New Issue