projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
329e132
)
DataObjects/Core_setting.php
author
Alan Knowles
<alan@roojs.com>
Thu, 9 Aug 2018 02:18:51 +0000
(10:18 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 9 Aug 2018 02:18:51 +0000
(10:18 +0800)
DataObjects/Core_setting.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_setting.php
b/DataObjects/Core_setting.php
index
206f887
..
a051679
100644
(file)
--- a/
DataObjects/Core_setting.php
+++ b/
DataObjects/Core_setting.php
@@
-114,6
+114,10
@@
class Pman_Core_DataObjects_Core_setting extends DB_DataObject
function getDecryptVal()
{
+ if (!$this->is_encrypt) {
+ return $this->val;
+ }
+
$key_dir = "{$this->getKeyDirectory()}/pri.key";
if(!file_exists($key_dir)) {