Commit a2c1de2acdb3a20376540ed2bd580feda00ad21c
1 parent
3c920e3f
Exists in
master
and in
7 other branches
Alteração das permissões de acesso ao admin.db em tempo de execução
Showing
2 changed files
with
1 additions
and
0 deletions
Show diff stats
admin/admin.db
No preview for this file type
admin/php/conexao.php
... | ... | @@ -59,6 +59,7 @@ if(!isset($esquemaadmin)){ |
59 | 59 | $convUTF = true; |
60 | 60 | if($conexaoadmin == ""){ |
61 | 61 | $arquivosqlite = $locaplic."/admin/admin.db"; |
62 | + chmod($arquivosqlite,0777); | |
62 | 63 | if(!file_exists($arquivosqlite)){ |
63 | 64 | echo "O arquivo admin.db não existe. Utilize i3geo/admin/criabanco.php para criar o banco de dados SQLITE."; |
64 | 65 | exit; | ... | ... |