1
ড্রুপাল ফাইল_কপি কাজ করছে না
আমার কাছে নিম্নলিখিত কোড রয়েছে: $main_image = glob('main*.{jpeg,gif,png,jpg,JPEG,JPG,PNG}', GLOB_BRACE); if (count($main_image) != 1) die("Could not find main picture !"); $file_path = drupal_realpath($main_image[0]); $file = (object) array( 'uid' => $userID, 'uri' => $file_path, 'filemime' => file_get_mimetype($file_path), 'display' => 1, 'filename' => $main_image[0] ); // copy the file in the correct folder …
11
media