Changeset 21290


Ignore:
Timestamp:
Mar 6, 2013, 5:51:45 PM (11 years ago)
Author:
mistic100
Message:

safe_mode, fix sk_SK file

Location:
extensions/instagram2piwigo
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/instagram2piwigo/include/functions.inc.php

    r19561 r21290  
    4646      curl_setopt($ch, CURLOPT_HTTPHEADER, array("Accept-language: en"));
    4747      curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)');
    48       curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
    49       curl_setopt($ch, CURLOPT_MAXREDIRS, 1);
    5048      curl_setopt($ch, CURLOPT_TIMEOUT, 30);
     49      if (!ini_get('safe_mode'))
     50      {
     51        curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
     52        curl_setopt($ch, CURLOPT_MAXREDIRS, 1);
     53      }
    5154      if (strpos($src, 'https://') !== false)
    5255      {
  • extensions/instagram2piwigo/language/sk_SK/plugin.lang.php

    r19694 r21290  
    4242$lang['%d elements ready for importation'] = '%d prvky/prvkov pripravených pre import';
    4343$lang['Logged out'] = 'Odhlásený';
    44 $lang['Photo "%s" imported'] = 'Fotka %d importovaná';
     44$lang['Photo "%s" imported'] = 'Fotka "%s" importovaná';
    4545$lang['List my pictures'] = 'Zobraziť moje fotky';
    4646?>
Note: See TracChangeset for help on using the changeset viewer.