From 38df3f640458ddb3d6ddd4055b275c59085f14d0 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 22 Dec 2013 16:53:26 -0800 Subject: make xref work --- mod/xref.php | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'mod') diff --git a/mod/xref.php b/mod/xref.php index 566de1998..c296bf0e1 100644 --- a/mod/xref.php +++ b/mod/xref.php @@ -1,20 +1,20 @@ 2) - $url = argv(2); + if (argc() > 2) + $url = argv(2); - goaway (z_root() . '/' . $url); + goaway (z_root() . '/' . $url); } -- cgit v1.2.3