Ignore:
Timestamp:
Jan 11, 2014, 12:00:56 PM (10 years ago)
Author:
mistic100
Message:

allow to ignore a file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/plugin_lang_analysis/admin.php

    r26059 r26607  
    5555        'path' => $file,
    5656        'is_admin' => strpos($file, '/admin') === 0 || strpos($file, 'admin.tpl') !== false,
    57         'lang_files' => $default_lang_files
     57        'ignore' => false,
     58        'lang_files' => $default_lang_files,
    5859        );
    5960    }
     
    8384        'path' => $file,
    8485        'is_admin' => $data['is_admin']=='true',
     86        'ignore' => $data['ignore']=='true',
    8587        'lang_files' => array(),
    8688        );
     
    109111  foreach ($files as $file => $file_data)
    110112  {
     113    if ($file_data['ignore']) continue;
     114
    111115    $file_strings = analyze_file($_GET['plugin_id'].$file);
    112116   
Note: See TracChangeset for help on using the changeset viewer.