public function __construct($credsVar) { $this->credsVar = $credsVar; $this->logQueries = defined('LOGQUERIES') && LOGQUERIES; $this->uniqueID = 'sqldb-' . session_id(); if (!file_exists(MYSQLVARPATH)) { mkdir(MYSQLVARPATH); } MySQLDatabase::GC(); }