version 1.3, 2011/07/19 16:49:24 |
version 1.4, 2011/07/19 17:02:54 |
|
|
$searchpath = substr($path[$i], 13); |
$searchpath = substr($path[$i], 13); |
|
|
# hardcoded |
# hardcoded |
# $path[$i] = substr($path[$i], 30) if ($type_file == 0); |
# remove first symbols to get only filename (i.e. \\fileserver\zayavki\ - 20 symbols) |
|
$path[$i] = substr($path[$i], 21) if ($type_file == 0); |
# $path[$i] = substr($path[$i], 34) if ($type_file == 1); |
# $path[$i] = substr($path[$i], 34) if ($type_file == 1); |
# $path[$i] = substr($path[$i], 34) if ($type_file == 2); |
# $path[$i] = substr($path[$i], 34) if ($type_file == 2); |
|
|
# make local file path |
# make local file path |
$searchpath =~ tr/\\/\//; |
$searchpath =~ tr/\\/\//; |
#$searchpath = '/mnt/maket/' . $searchpath; |
$searchpath = '/mnt/maket/' . $searchpath; |
|
|
|
|
|
|