From 64a602fe3319cd1cc2e87e6dfb76c3c40cf46ef6 Mon Sep 17 00:00:00 2001 From: davef Date: Fri, 6 May 2005 21:25:02 +0000 Subject: SF Patch #1177367 Trivial option to support non-standard FTP ports. --- config.inc.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'config.inc.php') 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 +?> -- cgit v1.2.3