Ignore:
Timestamp:
Nov 24, 2012, 8:57:57 AM (8 years ago)
Author:
ryandesign@…
Message:

remove use of deprecated POSIX regex (ereg*) functions in favor of PCRE regex (preg*) functions (#22281)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/localized/es/downloads/index.php

    r19376 r100018  
    1515chdir($chemin);
    1616while($file = readdir($rep)) {
    17         if($file != '..' && $file !='.' && (!eregi('php$', $file))) {
     17        if($file != '..' && $file !='.' && (!preg_match('/\.php$/i', $file))) {
    1818                if(!is_dir($file)) {
    1919                        echo "<a href=\"/downloads/$file\">$file</a>";
Note: See TracChangeset for help on using the changeset viewer.