summaryrefslogtreecommitdiff
path: root/www/admin/user/user.php.in
diff options
context:
space:
mode:
authorRichard Bos <richard@radoeka.nl>2006-03-22 19:34:29 (GMT)
committerRichard Bos <richard@radoeka.nl>2006-03-22 19:34:29 (GMT)
commite47ae813b19806138b26fa6416a2d75a578fea55 (patch)
tree89fff375086e206132d2eebdf48a66bc3860224d /www/admin/user/user.php.in
parent3e2f552218e4c7f86ff8ea8b9f9c72f0f201882a (diff)
downloadkolab-webadmin-e47ae813b19806138b26fa6416a2d75a578fea55.tar.gz
replaced $kolab_prefix/etc by @sysconfidir@
Diffstat (limited to 'www/admin/user/user.php.in')
-rw-r--r--www/admin/user/user.php.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/admin/user/user.php.in b/www/admin/user/user.php.in
index cf3951f..4cfc24c 100644
--- a/www/admin/user/user.php.in
+++ b/www/admin/user/user.php.in
@@ -486,11 +486,11 @@ switch( $action ) {
*/
if( false && isset( $_POST['accttype'] ) && $_POST['accttype'] > 1 ) {
// We have a group or resource, create encrypted pw
- $pubkeydata=file_get_contents("$kolab_prefix/etc/kolab/res_pub.pem" );
+ $pubkeydata=file_get_contents("@sysconfdir@/kolab/res_pub.pem" );
$pkey = openssl_pkey_get_public( $pubkeydata );
if( $pkey === false ) {
- $sslerr = sprintf(_("Could not read resource encryption public key file://%s/etc/kolab/res_pub.pem: "),
- $kolab_prefix);
+ $sslerr = "Could not read resource encryption public key file://@sysconfdir@/kolab/res_pub.pem: ";
+
while( $msg = openssl_error_string() )
$sslerr .= $msg.' ';
$errors[] = $sslerr;