diff options
author | Jim Hu <jimhu@users.sourceforge.net> | 2007-05-23 18:29:33 +0000 |
---|---|---|
committer | Jim Hu <jimhu@users.sourceforge.net> | 2007-05-23 18:29:33 +0000 |
commit | 61c6fb3a7bea8c5d0b2db717023e6f34fbd09f92 (patch) | |
tree | 4e127440f4bff1cfda609dca8f08b71c88c4766c | |
parent | c213f0f754339609ce9865bcf14064017deff47c (diff) | |
download | phpicalendar-61c6fb3a7bea8c5d0b2db717023e6f34fbd09f92.tar.gz phpicalendar-61c6fb3a7bea8c5d0b2db717023e6f34fbd09f92.tar.bz2 phpicalendar-61c6fb3a7bea8c5d0b2db717023e6f34fbd09f92.zip |
patches to change none to server
-rw-r--r-- | admin/index.php | 2 | ||||
-rw-r--r-- | config.inc-dist.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/admin/index.php b/admin/index.php index 71b0c18..83cb70f 100644 --- a/admin/index.php +++ b/admin/index.php @@ -32,7 +32,7 @@ if ((isset($_GET['action'])) && ($_GET['action'] == 'logout')) { $username = $_POST['username']; $password = $_POST['password']; -if ($auth_method == 'none') { +if ($auth_method == 'server') { $is_loged_in = TRUE; } else { $is_loged_in = FALSE; diff --git a/config.inc-dist.php b/config.inc-dist.php index 2c50bfb..0b895f9 100644 --- a/config.inc-dist.php +++ b/config.inc-dist.php @@ -54,7 +54,7 @@ $phpicalendar_publishing = ''; // Set to '1' to enable remote webdav style pu // 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 -$auth_method = 'internal'; // 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_method = 'internal'; // Valid values are: 'ftp', 'internal', or 'server'. '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. 'server' uses NO authentication from phpicalendar - 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. $ftp_server = 'localhost'; // Only used if $auth_method='ftp'. The ftp server name. 'localhost' will work for most servers. |