projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
872bb56
)
no db logging if no db.
author
Alan
<alan@roojs.com>
Mon, 31 Jul 2023 07:33:42 +0000
(15:33 +0800)
committer
Alan
<alan@roojs.com>
Mon, 31 Jul 2023 07:33:42 +0000
(15:33 +0800)
Pman.php
patch
|
blob
|
history
diff --git
a/Pman.php
b/Pman.php
index
fd17b43
..
978c774
100644
(file)
--- a/
Pman.php
+++ b/
Pman.php
@@
-505,8
+505,9
@@
class Pman extends HTML_FlexyFramework_Page
if ($cli) {
echo "ERROR: " .$str . "\n"; // print the error first, as DB might fail..
}
if ($cli) {
echo "ERROR: " .$str . "\n"; // print the error first, as DB might fail..
}
+ $pman = HTML_FlexyFramework::get()->Pman;
- if ($type !== false) {
+ if ($type !== false
&& empty($pman['nodatabase'])
) {
if(!empty($errors)){
DB_DataObject::factory('Events')->writeEventLogExtra($errors);
if(!empty($errors)){
DB_DataObject::factory('Events')->writeEventLogExtra($errors);