Skip to content

Log path #26

@bavamont

Description

@bavamont

These small changes would be nice to add to the repo, so that the log path can be changed.

PDO.class.php
public function __construct($Host, $DBPort, $DBName, $DBUser, $DBPassword, $LogPath = '')
{
$this->logObject = new PDOLog($LogPath);

PDO.Log.class.php
public function __construct($LogPath = '')
{
if (empty($LogPath)) $this->path = DIR . $this->path;
else $this->path = $LogPath;
}

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