From: john Date: Mon, 9 Apr 2018 08:42:36 +0000 (+0800) Subject: DataObjects/Core_setting.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=adc763ad1e0c40b13a92fed1241b2973141c1921 DataObjects/Core_setting.php --- diff --git a/DataObjects/Core_setting.php b/DataObjects/Core_setting.php index 76e8e0c1..90b58057 100644 --- a/DataObjects/Core_setting.php +++ b/DataObjects/Core_setting.php @@ -89,7 +89,7 @@ class Pman_Core_DataObjects_Core_setting extends DB_DataObject function encrypt($v) { - $pub_key = file_get_contents("{$this->storedir}/pub.key"); + $pub_key = file_get_contents("{$this->dir}/pub.key"); if(!$pub_key) { return; }