projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5672723
)
DataObjects/Core_setting.php
author
john
<john@roojs.com>
Tue, 15 May 2018 03:52:29 +0000
(11:52 +0800)
committer
john
<john@roojs.com>
Tue, 15 May 2018 03:52:29 +0000
(11:52 +0800)
DataObjects/Core_setting.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_setting.php
b/DataObjects/Core_setting.php
index
cd214dc
..
cf576e6
100644
(file)
--- a/
DataObjects/Core_setting.php
+++ b/
DataObjects/Core_setting.php
@@
-52,7
+52,7
@@
class Pman_Core_DataObjects_Core_setting extends DB_DataObject
return;
}
- function
keyDir
()
+ function
getkeyDirectory
()
{
$d = HTML_FlexyFramework::get()->Pman['storedir'].'/key';
if(!file_exists($d)) {
@@
-98,7
+98,7
@@
class Pman_Core_DataObjects_Core_setting extends DB_DataObject
function encrypt($v)
{
- $pub_key = file_get_contents("{$this->
keyDir
()}/pub.key");
+ $pub_key = file_get_contents("{$this->
getkeyDirectory
()}/pub.key");
if(!$pub_key) {
return;
}