#269 database location input doesn't expand ~ (v3.50)

closed-wont-fix
Jakub Vrána
SQLite (25)
5
2012-09-09
2012-08-15
starenka
No

I'd like adminer to expand ~ to /home/xxx or whatever my home directory is set while providing sqlite(3) db location.

Discussion

  • Jakub Vrána
    Jakub Vrána
    2012-09-09

    • status: open --> closed-wont-fix
     
  • Jakub Vrána
    Jakub Vrána
    2012-09-09

    Adminer usually runs under dedicated web server user so ~ should expand to his home directory.

     
  • starenka
    starenka
    2012-09-10

    Not sure if we're talking about the same thing. My fpm process runs as "www-data", with $HOME at /var/www. If I supply ~/meh.sql, adminer won't find the database at /var/www/meh.sql

    "Adminer usually runs under dedicated web server user so ~ should expand to
    his home directory.
    "

    This is legit, but it doesn't work.