File Editor - Filter

Discussion in 'General' started by sleech, Jan 14, 2008.

  1. sleech

    Joined:
    Dec 23, 2007
    Messages:
    6
    Likes Received:
    0
    Hi.
    How filter on file editor work ?

    When i try filter on word hold filter don return any result.
    When i filter on word mus it return
    musiconhold.conf
    musiconhold_additional.conf<br><br>Post edited by: sleech, at: 2008/01/13 19:54
     
  2. adonisfigueroa

    Joined:
    Sep 24, 2007
    Messages:
    35
    Likes Received:
    0
    At the moment the filter work find the files which name begin with the word of the filter, it error will be change in the next version of elastix, but if you want change now please go to the folder
    /var/www/html/modules/file_editor/

    and open the file index.php
    go to the line 58

    you have this:
    if(eregi("^$file", $item))

    and change for this:
    if(eregi(".*$file.*", $item))
     
  3. sleech

    Joined:
    Dec 23, 2007
    Messages:
    6
    Likes Received:
    0
    adonisfigueroa Thanks ! :)<br><br>Post edited by: sleech, at: 2008/01/15 03:39
     

Share This Page