Skip to content

Commit 18613b8

Browse files
committed
- patched last commit
1 parent 1c96b43 commit 18613b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

commandline/programs/update/init.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ function install_update(){
5757

5858
function rcopy($src, $dst) {
5959
if (file_exists ( $dst ))
60-
if($dst!=".." and $dst!="../programs") rrmdir ( $dst ); // do not remove custom programs
60+
if($dst!=".." and $dst!="../programs" and $dst!="../users") rrmdir ( $dst ); // do not remove custom programs
6161
if (is_dir ( $src )) {
62-
if($dst!=".." and $dst!="../programs") mkdir ( $dst );
62+
if($dst!=".." and $dst!="../programs" and $dst!="../users") mkdir ( $dst );
6363
$files = scandir ( $src );
6464
foreach ( $files as $file )
6565
if ($file != "." && $file != "..")

0 commit comments

Comments
 (0)