diff --git a/www/pages/logfile.php b/www/pages/logfile.php index 67257c53..1e47c4ff 100644 --- a/www/pages/logfile.php +++ b/www/pages/logfile.php @@ -1,4 +1,4 @@ - +*/ +?> app->DB->real_escape_string(print_r($meldung, true)); - } + + $module = $this->app->DB->real_escape_string(is_scalar($module) ? strval($module) : print_r($module, true)); + $action = $this->app->DB->real_escape_string(is_scalar($action) ? strval($action) : print_r($action, true)); + $meldung = $this->app->DB->real_escape_string(is_scalar($meldung) ? strval($meldung) : print_r($meldung, true)); + $dump = $this->app->DB->real_escape_string(is_scalar($dump) ? strval($dump) : print_r($dump, true)); + $functionname = $this->app->DB->real_escape_string(is_scalar($functionname) ? strval($functionname) : print_r($functionname, true)); + $this->app->DB->Insert( sprintf( "INSERT INTO logfile (module,action,meldung,dump,datum,bearbeiter,funktionsname)