Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log path #26

Open
bavamont opened this issue Dec 19, 2019 · 0 comments
Open

Log path #26

bavamont opened this issue Dec 19, 2019 · 0 comments

Comments

@bavamont
Copy link

bavamont commented Dec 19, 2019

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;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant