From 992c9efdea730a7ec826ea4f745acedbab44839e Mon Sep 17 00:00:00 2001 From: Palma Solutions LTD Date: Mon, 7 May 2018 13:01:51 +0200 Subject: [PATCH] correct \n for last line in shellmenu --- cms-vss.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cms-vss.php b/cms-vss.php index 396b2ce..f6b9ac3 100644 --- a/cms-vss.php +++ b/cms-vss.php @@ -220,7 +220,7 @@ foreach(glob("/home/".$argv[1]."/public_html/{**/*,*}".$row[1], GLOB_BRACE) as $ echo "\n"; $location = $versionfile; $trim = str_replace($row[1], '', $location); - print_r ("location:".$trim)."\n\n"; + print_r ("location:".$trim)."\n"; } @@ -239,7 +239,7 @@ foreach(glob("/home/".$argv[1]."/public_html/".$row[1], GLOB_BRACE) as $versionf echo "\n"; $location = $versionfile; $trim = str_replace($row[1], '', $location); - print_r ("location:".$trim)."\n\n"; + print_r ("location:".$trim)."\n"; } @@ -274,7 +274,7 @@ foreach(glob("/home/".$argv[1]."/public_html/{**/*,*}".$raw[1], GLOB_BRACE) as $ echo "\n"; $location = $versionfiles; $trim = str_replace($raw[1], '', $location); - print_r ("location:".$trim)."\n\n"; + print_r ("location:".$trim)."\n"; } } @@ -293,7 +293,7 @@ foreach(glob("/home/".$argv[1]."/public_html/{**/*,*}".$raw[1], GLOB_BRACE) as $ echo "\n"; $location = $versionfiles; $trim = str_replace($raw[1], '', $location); - print_r ("location:".$trim."\n\n"); + print_r ("location:".$trim."\n"); } } @@ -327,7 +327,7 @@ foreach(glob("/home/".$argv[1]."/public_html/{**/*,*}".$rxw[1], GLOB_BRACE) as $ echo "\n"; $location = $versionfilex; $trim = str_replace($rxw[1], '', $location); - print_r ("location:".$trim."\n\n"); + print_r ("location:".$trim."\n"); } } @@ -347,7 +347,7 @@ foreach(glob("/home/".$argv[1]."/public_html/{**/*,*}".$rxw[1], GLOB_BRACE) as $ echo "\n"; $location = $versionfilex; $trim = str_replace($rxw[1], '', $location); - print_r ("location:".$trim."\n\n"); + print_r ("location:".$trim."\n"); } }