From fe65ec4e72ae3fdb00b244992c1d27f914879f1d Mon Sep 17 00:00:00 2001 From: jwangen Date: Sun, 29 Sep 2002 04:29:24 +0000 Subject: Took the webcal:// link out of config and made it dynamcally find out what the URL should be in init --- config.inc.php | 1 - init.inc.php | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/config.inc.php b/config.inc.php index 50653f1..21fbf68 100644 --- a/config.inc.php +++ b/config.inc.php @@ -1,7 +1,6 @@ = "4.2.0") include('./config.inc.php'); +// subscribe link prefix, doesn't need to be user configureable +$fullpath = 'webcal://'.$_SERVER['SERVER_NAME'].dirname($_SERVER['PHP_SELF']).'/'.$calendar_path.'/'; + + // language support $language = strtolower($language); $lang_file = "./languages/$language.inc.php"; -- cgit v1.2.3