Update: Add publish/unpublish button to admin trips table and improve table styling
This commit is contained in:
@@ -39,8 +39,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
}
|
||||
|
||||
$target_dir = $rootPath . "/uploads/pop/";
|
||||
// Use EFT ID as filename instead of random filename
|
||||
$filename = $eft_id . '.pdf';
|
||||
// Use EFT ID as filename instead of random filename, replace spaces with underscores
|
||||
$filename = str_replace(' ', '_', $eft_id) . '.pdf';
|
||||
$target_file = $target_dir . $filename;
|
||||
|
||||
// Make sure target directory exists and writable
|
||||
|
||||
Reference in New Issue
Block a user