correct \n for last line in shellmenu
This commit is contained in:
12
cms-vss.php
12
cms-vss.php
@@ -220,7 +220,7 @@ foreach(glob("/home/".$argv[1]."/public_html/{**/*,*}".$row[1], GLOB_BRACE) as $
|
|||||||
echo "\n";
|
echo "\n";
|
||||||
$location = $versionfile;
|
$location = $versionfile;
|
||||||
$trim = str_replace($row[1], '', $location);
|
$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";
|
echo "\n";
|
||||||
$location = $versionfile;
|
$location = $versionfile;
|
||||||
$trim = str_replace($row[1], '', $location);
|
$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";
|
echo "\n";
|
||||||
$location = $versionfiles;
|
$location = $versionfiles;
|
||||||
$trim = str_replace($raw[1], '', $location);
|
$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";
|
echo "\n";
|
||||||
$location = $versionfiles;
|
$location = $versionfiles;
|
||||||
$trim = str_replace($raw[1], '', $location);
|
$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";
|
echo "\n";
|
||||||
$location = $versionfilex;
|
$location = $versionfilex;
|
||||||
$trim = str_replace($rxw[1], '', $location);
|
$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";
|
echo "\n";
|
||||||
$location = $versionfilex;
|
$location = $versionfilex;
|
||||||
$trim = str_replace($rxw[1], '', $location);
|
$trim = str_replace($rxw[1], '', $location);
|
||||||
print_r ("location:".$trim."\n\n");
|
print_r ("location:".$trim."\n");
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user