Skip to content

$this->db_sqlite_path = str_replace('\\','/', pathinfo( __FILE__ )['dirname']) . "/users.db"; #28

@sl5net

Description

@sl5net

https://github.com/panique/php-login-one-file/blob/master/index.php#L24
i reommand to use:

public function __construct($doSilently=false)
{
    $this->db_sqlite_path = str_replace('\\','/', pathinfo( __FILE__  )['dirname']) . "/users.db";

so you could include the demo index.php file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions