git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4495
7612ce4b-ef26-0410-bec9-
ea0150e637f0
push @abs_path, $subdir;
}
}
push @abs_path, $subdir;
}
}
- $new_path = "\'";
- foreach $subdir (@abs_path) {
- $new_path .= '/' . $subdir;
- }
- $new_path .= "\'";
+ $new_path = "\'" . join('/', @abs_path) . "\'";
} elsif ( $#rel_path > 0 ) {
# it's within the SM tree, prepend SM_PATH
$new_path = $old_path;
} elsif ( $#rel_path > 0 ) {
# it's within the SM tree, prepend SM_PATH
$new_path = $old_path;