Changeset 114692 in spip-zone


Ignore:
Timestamp:
Apr 1, 2019, 9:18:11 PM (8 months ago)
Author:
real3t@…
Message:

[ODT2SPIP] Éviter sur certains hébergements un Warning: exec() has been disabled for security reasons

Location:
_plugins_/odt2spip/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/odt2spip/trunk/inc/odt2spip.php

    r106370 r114692  
    3636        }
    3737
    38         exec("which $command", $output, $err);
     38        @exec("which $command", $output, $err);
    3939        if (!$err and count($output) and $cmd = trim($output[0])) {
    4040                spip_log("Commande '$command' trouvée dans $cmd", 'odtspip.' . _LOG_DEBUG);
  • _plugins_/odt2spip/trunk/paquet.xml

    r113233 r114692  
    22        prefix="odt2spip"
    33        categorie="edition"
    4         version="3.0.5"
     4        version="3.0.6"
    55        schema="201406091738"
    66        etat="test"
Note: See TracChangeset for help on using the changeset viewer.