Make per run log flag in Class Basic
This commit is contained in:
@@ -90,6 +90,9 @@
|
||||
// DESC : cunstroctuor, does ALL, opens db, works through connection checks, closes itself
|
||||
public function __construct($db_config, $lang = 'en_utf8', $debug = 0, $db_debug = 0, $echo = 1, $print = 0)
|
||||
{
|
||||
// log login data for this class only
|
||||
$this->log_per_class = 1;
|
||||
|
||||
// create db connection and init base class
|
||||
parent::__construct($db_config, $debug, $db_debug, $echo, $print);
|
||||
|
||||
@@ -100,9 +103,6 @@
|
||||
exit;
|
||||
}
|
||||
|
||||
// log login data for this class only
|
||||
$this->log_per_class = 1;
|
||||
|
||||
// get the language sub class & init it
|
||||
_spl_autoload('Class.l10n.inc');
|
||||
$this->l = new l10n($lang);
|
||||
|
||||
Reference in New Issue
Block a user