|
|
|
@ -7,8 +7,12 @@ echo '; generated on: ' . $date->format('Y-m-d H:i:s'). "\n;\n";
|
|
|
|
|
|
|
|
|
|
$curdir = realpath('.'); |
|
|
|
|
|
|
|
|
|
// accept + and , as separators |
|
|
|
|
$v = explode(',',str_replace("+", ",", $_GET['combine'])); |
|
|
|
|
// accept space, + and , as separators |
|
|
|
|
$s = $_GET['combine']; |
|
|
|
|
$s = str_replace('+', ',', $s); |
|
|
|
|
$s = str_replace(' ', ',', $s); |
|
|
|
|
|
|
|
|
|
$v = explode(',', $s); |
|
|
|
|
foreach ($v as $item) { |
|
|
|
|
if (strpos($item, '../') !== false) continue; |
|
|
|
|
$fname = $curdir . '/' . $item . '.list.resolved'; |
|
|
|
|