macsnjets Posted December 21, 2002 Posted December 21, 2002 Unfortunately the way my hosting company has the server set up, the SSL directory is different than where the non secure pages are therefore all the images of the products have to be copied to the ssl side also. Is there a way through the code to upload the image to both directories when a new product is added? Thanks
mattice Posted December 21, 2002 Posted December 21, 2002 in admin/categories.php look for tep_copy_uploaded_file($categories_image, $image_directory); and add that line once more where you replace $image_directory. So it would look like this: tep_copy_uploaded_file($categories_image, $image_directory); tep_copy_uploaded_file($categories_image, '/home/ssl/'); (untested) hth Mattice "Politics is the art of preventing people from taking part in affairs which properly concern them"
Recommended Posts
Archived
This topic is now archived and is closed to further replies.