SyuTingSong / phpliteadmin

Automatically exported from code.google.com/p/phpliteadmin
0 stars 0 forks source link

Path level will no extend beyond one level. #264

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. /srv/http/php/phpliteadmin.php
2. /srv/sql/rdm.db
3.  $databases.. array( 'path'=> '../../sql/rdm.db'

What is the expected output? What do you see instead?

I expect access to my database.

phpliteadmin will not go prior to one level of ../

Archlinuxarm, PDO, SQLite3.

If I put rdm.db in /srv/http then path=../rdm.db works.

What version of the product are you using? On what operating system? Which
Database Extension (PDO/SQLiteDatabase/SQLiteDatabase3 - see Database
structure-tab in phpLiteAdmin)?

Please provide any additional information below.

Original issue reported on code.google.com by davidG...@gmail.com on 20 Jan 2015 at 2:19

GoogleCodeExporter commented 9 years ago
Are you sure that the webserver has read-permissions to /srv/sql ?

I think it is rather a problem of file permissions.

Original comment by crazy4ch...@gmail.com on 26 Mar 2015 at 3:52