aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorDM42.Net Hubzilla Development <hzdev@dm42.net>2019-11-28 05:27:12 +0000
committerMario <mario@mariovavti.com>2019-11-28 09:42:59 +0100
commit3e133bbfa3c5a0b7c86aa3ba2f0dccad1520cc53 (patch)
treef266f341a012833d2b8f1f0b2f78b7439b103ab9 /boot.php
parent6c8d1bdffef0c1d83ca1bdbc0caeeb41fc8aa3df (diff)
downloadvolse-hubzilla-3e133bbfa3c5a0b7c86aa3ba2f0dccad1520cc53.tar.gz
volse-hubzilla-3e133bbfa3c5a0b7c86aa3ba2f0dccad1520cc53.tar.bz2
volse-hubzilla-3e133bbfa3c5a0b7c86aa3ba2f0dccad1520cc53.zip
Move auto_save_draft to header from thread comment
(cherry picked from commit c86b35da701674510a97ccc21e46581bd864cc31)
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index fb580e3a9..cf3eddce9 100755
--- a/boot.php
+++ b/boot.php
@@ -1205,7 +1205,8 @@ class App {
'$linkrel' => head_get_links(),
'$js_strings' => js_strings(),
'$zid' => get_my_address(),
- '$channel_id' => self::$profile['uid']
+ '$channel_id' => self::$profile['uid'],
+ '$auto_save_draft' => ((feature_enabled(self::$profile['uid'], 'auto_save_draft')) ? "true" : "false")
]
) . self::$page['htmlhead'];