Bug fix for log file with class and missing wrapper function in DB\IO

When the class name was in a namespace the \ was added into the file
name that might cause some issues. \ is replaced with -

The wrapper for db_exec was missing in the DB\IO class
This commit is contained in:
Clemens Schwaighofer
2018-03-29 16:15:33 +09:00
parent 477aae6232
commit 2051d17901
3 changed files with 11 additions and 5 deletions

View File

@@ -213,7 +213,7 @@ if ($cms->action == 'save') {
$error = move_uploaded_file($_FILES['file_up']['tmp_name'], $upload_file);
$cms->debug('file_upload', "UP: $upload_file");
$cms->debug('file_upload', "Orig: ".$cms->print_ar($_FILES['file_up']));
$cms->debug('file_upload', "Orig: ".$cms->printAr($_FILES['file_up']));
// because I get bogus error info from move_uploaded_file ...
$error = 0;