Skip to content

Bug: SQLite3 database file created in /public folder #3113

Description

@ramiresviana

Describe the bug
When using database with SQLite3 as DBDriver parameter, the database file is created in the /public application folder.

CodeIgniter 4 version
4.0.3

Steps to reproduce

  1. Set database and DBDriver parameters in database configuration file.
  2. Create new table with CodeIgniter Forge;
  3. Database file is created in /public folder.

Expected behavior
Database files can contain private information and should not be created in the public folder by default.

Context

  • OS: Ubuntu 18.04.2
  • Web server: CodeIgniter Spark
  • PHP version: 7.2.24

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugVerified issues on the current code behavior or pull requests that will fix them

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions