Changeset 125321 in spip-zone


Ignore:
Timestamp:
Jun 25, 2020, 5:46:57 PM (5 months ago)
Author:
Matthieu Marcillaud
Message:

Notice PHP en moins en dehors de SPIP.

Location:
_core_/plugins/archiviste
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _core_/plugins/archiviste

    • Property subgit:lock:fa02f8dba690928e2b3b2aacfd9a3f9275622387 deleted
    • Property subgit:lock:bc208683e662c116f9a3d760416791854b8d7f98 set to 2020-06-25T19:47:04.660
  • _core_/plugins/archiviste/inc/pclzip.php

    r125319 r125321  
    56305630// --------------------------------------------------------------------------------
    56315631function PclZipUtilTranslateWinPath($p_path, $p_remove_disk_letter = true) {
    5632         if (_OS_SERVEUR == 'windows' or stristr(@php_uname(), 'windows')) {
     5632        if (
     5633                (defined('_OS_SERVEUR') and _OS_SERVEUR === 'windows')
     5634                or stristr(@php_uname(), 'windows')
     5635        ) {
    56335636                // ----- Look for potential disk letter
    56345637                if (($p_remove_disk_letter) && (($v_position = strpos($p_path, ':')) != false)) {
Note: See TracChangeset for help on using the changeset viewer.