Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Upload permissions from admin?


paws

Recommended Posts

Posted

Hi All

 

 

I have noticed that image uploads made through the admin area are 777 is there anyway to set them so they upload at 755?

 

Cheers

Posted
I have noticed that image uploads made through the admin area are 777 is there anyway to set them so they upload at 755?

Change the 777 to 755 in admin/includes/classes/upload.php?

  class upload {
var $file, $filename, $destination, $permissions, $extensions, $tmp_filename, $message_location;

function upload($file = '', $destination = '', $permissions = '777', $extensions = '') {

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...