Ver Mensaje Individual
  #1 (permalink)  
Antiguo 11/12/2010, 11:37
pablogross
 
Fecha de Ingreso: octubre-2007
Mensajes: 39
Antigüedad: 16 años, 6 meses
Puntos: 1
config_inc.php oscomerce

Hola estoy trabanjo con oscomerce el tema es que al momento de subir un producto me deja en la parte de examinar imagen subir cualquier extesion de archivo jpg bmp html php , encontre este config_inc.php donde dice :

<?php
DEFINE ("SECURE_SET",0); //Some server has been disabled for security reasons realpath
//eg tripod. The script say: Warning: realpath, tmpfile, link() has been disabled for security reasons in
//then write

DEFINE ("SECURE_SET",0); otherwise you can write DEFINE ("SECURE_SET",1);

DEFINE ("MAXFILESIZE", 1500000); //Define the max_file_size in byte -> 15kb
DEFINE ("EXTENSION", "(jpg|pdf|txt|rar|zip)"); //The allowed extension

?>
.................................................. .......................................

¿Como habilito las extensiones y donde las incluyo para que funcionen?