phpLiteAdmin / pla

Official github clone of the phpLiteAdmin repository

Home Page:https://www.phpliteadmin.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dynamically setting the SQLite DB path

peter279k opened this issue · comments

As title, It looks like we only can use the phpliteadmin.config.php to set the SQLite DB path.

Sometime we need to set the DB path dynamically.

I suggest that we can add the DB path field when we try to sign in account to the phpliteadmin.

Hmm.... This means a user could access any SQLite database that php has file permissions for. This sounds a little dangerous to me.

But we may make it a configuration option with a huge warning sign.

Hi @crazy4chrissi, thank you for your concern.

I think this is about the option work and it can help developers to access specific SQLite DB quickly without editing config.

It's safe I think because I think the SQLite manger should be protected on development environment.