|
@@ -205,6 +205,12 @@ class Journal extends Core
|
|
|
if ($active && $active['status'] == 1) {
|
|
|
$this->data['info']['active'] = 1;
|
|
|
}
|
|
|
+
|
|
|
+ if (isset($this->data['info']['share_content'])) {
|
|
|
+ $source = Dever::db('source/info')->one(1);
|
|
|
+ $this->data['info']['share_link'] = $source['code'];
|
|
|
+ }
|
|
|
+
|
|
|
$time = time();
|
|
|
if ($active && $time >= $active['start'] && $time < $active['end']) {
|
|
|
$this->data['info']['active'] = 1;
|