Changeset 2643

Show
Ignore:
Timestamp:
06/22/08 12:11:18 (5 months ago)
Author:
gcroes
Message:

Utilisation de trailingSlash

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/Copix_3_0_X/utils/copix/utils/CopixModule.class.php

    r2443 r2643  
    9797            } 
    9898            foreach ($conf->arModulesPath as $path){ 
    99                 if (substr($path,-1)!='/') $path.='/'
     99                $path = CopixFile::trailingSlash ($path)
    100100                foreach (self::_findModulesIn ($path) as $moduleName){ 
    101101                    if (!isset ($toReturn[$moduleName])){ 
  • trunk/utils/copix/utils/CopixModule.class.php

    r1991 r2643  
    124124            } 
    125125            foreach ($conf->arModulesPath as $path){ 
    126                 if (substr ($path,-1)!='/') $path.='/'
     126               $path = CopixFile::trailingSlash ($path)
    127127                foreach (self::_findModulesIn ($path) as $moduleName){ 
    128128                    if (!isset ($toReturn[$moduleName])){