Author Topic: Since one becomes so that it does not verify the remote file  (Read 2100 times)

0 Members and 1 Guest are viewing this topic.

Offline alex.campillo

  • Newbie
  • *
  • Posts: 14
    • View Profile
First they excuse my ingles but this translated by google ;-)

Since one becomes so that it does not verify the remote files?

I have proven in Contrans.php in the line:

define('CHECK_REMOTE_FILES', 1);  and r eplace with:

define('CHECK_REMOTE_FILES', 0);  but it does not do anything.

The secret this in fuctions.php

function check_remote_media($remote_media_file) {
  global $config;
   return (preg_match("#^(https?:\/\/[a-z0-9\-]+?\.([a-z0-9\-]+\.)*[a-z]+(:[0-9]+)*\/.*?\.(".$config['allowed_mediatypes_match'].")$)#is", $remote_media_file)) ? 1 : 0;
}

but with himself not to do it well.  Somebody can help me please, thanks!