Changeset 19276


Ignore:
Timestamp:
2010/11/07 00:51:15 (12 years ago)
Author:
miningbrownie
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/camp/camp-2_5-E/data/class/pages/admin/system/LC_Page_Admin_System_Plugin.php

    r19275 r19276  
    121121        if($dh =  opendir($dir)){ 
    122122            while(($file = readdir($dh)) !== false){ 
    123                 if($file !='.' && $file !='..' && filetype($dir.$file) == 'dir'){ 
     123                if(!preg_match('/^\./', $subject)$file !='.' && $file !='..' && filetype($dir.$file) == 'dir'){ 
    124124                    $arrPlugins[] = $file; 
    125125                     
     
    128128        } 
    129129//        var_dump($arrPlugins); 
    130           return $arrPlugins; 
     130          return $arrPlugins;  
    131131    } 
    132132 
Note: See TracChangeset for help on using the changeset viewer.