aboutsummaryrefslogtreecommitdiffstats
path: root/config.inc.php
diff options
context:
space:
mode:
authordavef <davefd2@users.sourceforge.net>2005-05-06 21:25:02 +0000
committerdavef <davefd2@users.sourceforge.net>2005-05-06 21:25:02 +0000
commit64a602fe3319cd1cc2e87e6dfb76c3c40cf46ef6 (patch)
tree66fcf52bec5526e8aa3aa8079721dbc2439910b9 /config.inc.php
parent6fadcb657a82f8b47189b766cdfdfa4f6f1806bb (diff)
downloadphpicalendar-64a602fe3319cd1cc2e87e6dfb76c3c40cf46ef6.tar.gz
phpicalendar-64a602fe3319cd1cc2e87e6dfb76c3c40cf46ef6.tar.bz2
phpicalendar-64a602fe3319cd1cc2e87e6dfb76c3c40cf46ef6.zip
SF Patch #1177367
Trivial option to support non-standard FTP ports.
Diffstat (limited to 'config.inc.php')
-rw-r--r--config.inc.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/config.inc.php b/config.inc.php
index b2810b0..14f01b7 100644
--- a/config.inc.php
+++ b/config.inc.php
@@ -49,11 +49,12 @@ $webcal_hours = '24'; // Number of hours to cache webcals. Setting to '0' w
$phpicalendar_publishing = ''; // Set to '1' to enable remote webdav style publish. See 'calendars/publish.php' for complete information;
// Administration settings (/admin/)
-$allow_admin = 'yes'; // Set to yes to allow the admin page - remember to change the default password if using 'internal' as the $auth_method
+$allow_admin = 'yes'; // Set to yes to allow the admin page - remember to change the default password if using 'internal' as the $auth_method
$auth_method = 'ftp'; // Valid values are: 'ftp', 'internal', or 'none'. 'ftp' uses the ftp server's username and password as well as ftp commands to delete and copy files. 'internal' uses $auth_internal_username and $auth_internal_password defined below - CHANGE the password. 'none' uses NO authentication - meant to be used with another form of authentication such as http basic.
$auth_internal_username = 'admin'; // Only used if $auth_method='internal'. The username for the administrator.
-$auth_internal_password = 'admin'; // Only used if $auth_method='internal'. The password for the administrator.
+$auth_internal_password = 'admin'; // Only used if $auth_method='internal'. The password for the administrator.
$ftp_server = 'localhost'; // Only used if $auth_method='ftp'. The ftp server name. 'localhost' will work for most servers.
+$ftp_port = '21'; // Only used if $auth_method='ftp'. The ftp port. '21' is the default for ftp servers.
$ftp_calendar_path = ''; // Only used if $auth_method='ftp'. The full path to the calendar directory on the ftp server. If = '', will attempt to deduce the path based on $calendar_path, but may not be accurate depending on ftp server config.
// Calendar colors
@@ -92,4 +93,4 @@ $apache_map['user2'] = array(''); // authenticated via HTTP will not see the p
$apache_map['user3'] = array(''); // given any login/logout options. Calendar names not include the .ics suffix.
$apache_map['user4'] = array(''); // Example: $apache_map['username'] = array('Calendar1', 'Calendar2');
// add more lines as necessary
-?> \ No newline at end of file
+?>

© 2014-2024 Faster IT GmbH | imprint | privacy policy