Changeset 125323 in spip-zone


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

Notice PHP en moins en dehors de SPIP

Location:
_outils_/spip_loader/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _outils_/spip_loader/trunk

    • Property subgit:lock:108de5375f91b390962c9b2b26e5c0111572ea01 deleted
    • Property subgit:lock:e41635c2e0a3481f0fa7a3ae8ad9df10e44658bd set to 2020-06-25T19:50:46.431
  • _outils_/spip_loader/trunk/pclzip.php

    r125322 r125323  
    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.