2005-08-09 18:46:53 +00:00
|
|
|
<?php
|
|
|
|
|
2005-08-10 23:53:33 +00:00
|
|
|
require_once("../inc/util.inc");
|
2005-08-09 18:46:53 +00:00
|
|
|
require_once("../inc/xml.inc");
|
|
|
|
|
|
|
|
xml_header();
|
2005-08-10 23:53:33 +00:00
|
|
|
|
2005-08-31 18:20:06 +00:00
|
|
|
$config = get_config();
|
2005-10-07 19:19:07 +00:00
|
|
|
$long_name = parse_config($config, "<long_name>");
|
|
|
|
$min_passwd_length = parse_config($config, "<min_passwd_length>");
|
|
|
|
if (!$min_passwd_length) {
|
|
|
|
$min_passwd_length = 6;
|
|
|
|
}
|
|
|
|
$disable_account_creation = parse_bool($config, "disable_account_creation");
|
|
|
|
$client_account_creation_disabled = parse_bool($config, "client_account_creation_disabled");
|
2005-08-10 23:53:33 +00:00
|
|
|
|
2005-08-26 22:26:26 +00:00
|
|
|
echo "<project_config>
|
2005-10-07 19:19:07 +00:00
|
|
|
<name>$long_name</name>
|
2005-08-31 18:20:06 +00:00
|
|
|
";
|
|
|
|
|
2005-10-07 19:19:07 +00:00
|
|
|
if ($disable_account_creation) {
|
2005-08-31 18:20:06 +00:00
|
|
|
echo " <account_creation_disabled/>\n";
|
|
|
|
}
|
2005-10-07 19:19:07 +00:00
|
|
|
if ($client_account_creation_disabled) {
|
|
|
|
echo " <client_account_creation_disabled/>\n";
|
|
|
|
}
|
2005-08-31 18:20:06 +00:00
|
|
|
echo "
|
2005-10-07 19:19:07 +00:00
|
|
|
<min_passwd_length>$min_passwd_length</min_passwd_length>
|
2005-08-26 22:26:26 +00:00
|
|
|
</project_config>
|
|
|
|
";
|
2005-08-09 18:46:53 +00:00
|
|
|
|
|
|
|
?>
|