projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bb0e09
)
sync
author
Alan Knowles
<alan@roojs.com>
Mon, 25 Jan 2021 06:17:55 +0000
(14:17 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 25 Jan 2021 06:17:55 +0000
(14:17 +0800)
Config.php
patch
|
blob
|
history
diff --git
a/Config.php
b/Config.php
index
7eb3160
..
25595a7
100644
(file)
--- a/
Config.php
+++ b/
Config.php
@@
-46,7
+46,9
@@
class Pman_Core_Config {
}
function overlayDefaults($cfg)
{
- $this->defaults['disable'] = implode(',', $this->defaults['disable']);
+ if (isset($this->defaults['disable']) && is_array($this->defaults['disable']) ) {
+ $this->defaults['disable'] = implode(',', $this->defaults['disable']);
+ }
foreach($this->defaults as $k=>$v) {
if (is_array($v)) {