mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:29 +01:00
worked on renaming of group dirs
This commit is contained in:
parent
279c9181ab
commit
154817313b
@ -59,10 +59,15 @@
|
||||
|
||||
$sep = $phpgw->common->filesystem_separator();
|
||||
|
||||
$basedir = $phpgw_info["server"]["server_root"] . $sep . "filemanager" . $sep . "groups" . $sep;
|
||||
|
||||
if (! @rename($basedir . $old_group_name, $basedir . $n_group)) {
|
||||
$cd = 39;
|
||||
if ($old_group_name <> $n_group) {
|
||||
$basedir = $phpgw_info["server"]["server_root"] . $sep . "filemanager" . $sep . "groups" . $sep;
|
||||
|
||||
if (! @rename($basedir . $old_group_name, $basedir . $n_group)) {
|
||||
$cd = 39;
|
||||
} else {
|
||||
$cd = 33;
|
||||
}
|
||||
} else {
|
||||
$cd = 33;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user