/** * constructor read config-file and initializes the vars * * @param string config-file-location * * @access public * * @author patrick.kracht */ public function __construct($config_file = "./configs/template.conf.php") { if (file_exists($config_file)) { // import settings for connection include $config_file; self::$tpl_folder = $tpl_folder; } self::$debugoff = isset($tpl_compress) ? $tpl_compress : true; }