Skip to content

Commit

Permalink
更改初始化数据库位置
Browse files Browse the repository at this point in the history
  • Loading branch information
helloxz committed Apr 11, 2021
1 parent bb5b056 commit db22d97
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
File renamed without changes.
2 changes: 0 additions & 2 deletions db/.htaccess

This file was deleted.

1 change: 0 additions & 1 deletion db/index.html

This file was deleted.

2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}
//检查数据库是否存在,不存在则复制数据库
if( !file_exists('./data/onenav.db3') ) {
copy('db/onenav.simple.db3','data/onenav.db3');
copy('data/onenav.simple.db3','data/onenav.db3');
// copy('db/.htaccess','data/.htaccess');
}

Expand Down

0 comments on commit db22d97

Please sign in to comment.