diff options
author | jwangen <jwangen> | 2002-09-29 04:29:24 +0000 |
---|---|---|
committer | jwangen <jwangen> | 2002-09-29 04:29:24 +0000 |
commit | fe65ec4e72ae3fdb00b244992c1d27f914879f1d (patch) | |
tree | 2f8e6ce7fb0c943dcdefb14d56a41b4510ef98a1 /init.inc.php | |
parent | 27af6791b1e4cf02d0e47b60fa446c2396f21e4c (diff) | |
download | phpicalendar-fe65ec4e72ae3fdb00b244992c1d27f914879f1d.tar.gz phpicalendar-fe65ec4e72ae3fdb00b244992c1d27f914879f1d.tar.bz2 phpicalendar-fe65ec4e72ae3fdb00b244992c1d27f914879f1d.zip |
Took the webcal:// link out of config and made it dynamcally find out
what the URL should be in init
Diffstat (limited to 'init.inc.php')
-rw-r--r-- | init.inc.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/init.inc.php b/init.inc.php index 08f3862..a4bfc35 100644 --- a/init.inc.php +++ b/init.inc.php @@ -9,6 +9,10 @@ if(phpversion() >= "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"; |