Make per run log flag in Class Basic

This commit is contained in:
Clemens Schwaighofer
2017-03-17 14:24:48 +09:00
parent 1dfe246e0f
commit 61f1b92bad
3 changed files with 31 additions and 5 deletions

View File

@@ -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);