mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +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();
|
$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)) {
|
if ($old_group_name <> $n_group) {
|
||||||
$cd = 39;
|
$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 {
|
} else {
|
||||||
$cd = 33;
|
$cd = 33;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user