add read
This commit is contained in:
@@ -11,6 +11,13 @@ function priceid_kuri($id){
|
||||
}
|
||||
|
||||
|
||||
function anfilename($id){
|
||||
|
||||
return "/vhosts/an/httpdocs/pub/files/pdf/pdf/$id.pdf";
|
||||
}
|
||||
|
||||
|
||||
|
||||
function file_kuri($hash) {
|
||||
|
||||
|
||||
@@ -23,7 +30,7 @@ function file_kuri($hash) {
|
||||
}
|
||||
|
||||
$id = $price['price_id'];
|
||||
$pdfile = "/vhosts/an/httpdocs/pub/files/pdf/pdf/$id.pdf";
|
||||
$pdfile = anfilename($id);
|
||||
|
||||
$request = $_SERVER['REQUEST_URI'];
|
||||
$filename = basename($request);
|
||||
|
||||
Reference in New Issue
Block a user