Directory scan doesn't work

Issue #119 resolved
Former user created an issue

Originally reported on Google Code with ID 119

Database files are not found (phpliteadmin trunk 1.9.3), if $directory is not current
directory and $subdirectories is off, e.g.:

$directory = "/home";
$subdirectories = false;

Problem is near line 291 - scandir() doesn't return full filenames with path, but filenames
only. As a result, if the search directory is anything else than ".", the DB files
are not found (isfile() at 296 returns false).

Reported by alpov@alpov.net on 2012-10-10 19:52:10

Comments (3)

  1. Christopher Kramer
    Thanks for your report and your explanation why it does not work.
    I was able to reproduce it. 
    
    I'll fix it soon.
    

    Reported by crazy4chrissi on 2012-10-11 22:23:07 - Status changed: Accepted

  2. Christopher Kramer
    Fixed in Revision #236 in SVN. Please try the fixed version:
    https://phpliteadmin.googlecode.com/svn/source/1.9.3/phpliteadmin.php
    
    Thanks again for your bug report that helped making phpliteadmin better.
    

    Reported by crazy4chrissi on 2012-10-20 14:04:17 - Status changed: Fixed

  3. Log in to comment