This commit is contained in:
home 2020-03-27 21:49:00 +01:00
parent c05378ecde
commit e27fe348c6
2 changed files with 10 additions and 10 deletions

View File

@ -1,10 +1,10 @@
<?php
define ( 'SQL_LOG', 1 ); // schreibt sql querys in eine log
$_m['host'] = 'localhost';
$_m['user'] = '';
$_m['pass'] = '';
$_m['data'] = '';
$_m['pre'] = 'efcms2_';
$_m['salt'] = '';
<?php
if (!defined('SQL_LOG')) define ( 'SQL_LOG', 1 ); // schreibt sql querys in eine log
$_m['host'] = 'localhost';
$_m['user'] = '';
$_m['pass'] = '';
$_m['data'] = '';
$_m['pre'] = 'efcms2_';
$_m['salt'] = '';
?>

View File

@ -8,7 +8,7 @@ class SQL {
public $cnt_get = 0;
public $cnt_set = 0;
public function __construct() {
require ('secret.php');
require_once ('secret.php');
$this->m = $_m;
$this->pre = $_m ['pre'];