aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-09-13 21:36:59 -0700
committerzotlabs <mike@macgirvin.com>2017-09-13 21:36:59 -0700
commit5be132f877f792e7b122a2b6ca18934b31b2f10c (patch)
tree10615f6c418e61f28194d49b61b49d15c8dc3253
parentb5966041be46ab7a16dc1ee93b5a07c5461bc73c (diff)
downloadvolse-hubzilla-5be132f877f792e7b122a2b6ca18934b31b2f10c.tar.gz
volse-hubzilla-5be132f877f792e7b122a2b6ca18934b31b2f10c.tar.bz2
volse-hubzilla-5be132f877f792e7b122a2b6ca18934b31b2f10c.zip
make wiki page mimetype default to wiki mimetype (this was the original intent but the wrong variable was used)
-rw-r--r--Zotlabs/Widget/Wiki_pages.php2
-rw-r--r--include/zot.php4
2 files changed, 4 insertions, 2 deletions
diff --git a/Zotlabs/Widget/Wiki_pages.php b/Zotlabs/Widget/Wiki_pages.php
index ac6549ffd..9d248759b 100644
--- a/Zotlabs/Widget/Wiki_pages.php
+++ b/Zotlabs/Widget/Wiki_pages.php
@@ -50,7 +50,7 @@ class Wiki_pages {
'$canadd' => $can_create,
'$candel' => $can_delete,
'$addnew' => t('Add new page'),
- '$mimetype' => mimetype_select(0,$p['mimeType'], [ 'text/markdown','text/bbcode' ]),
+ '$mimetype' => mimetype_select(0,$w['mimeType'], [ 'text/markdown','text/bbcode' ]),
'$pageName' => array('pageName', t('Page name')),
'$refresh' => $arr['refresh']
));
diff --git a/include/zot.php b/include/zot.php
index c819e26a5..c8321c2ae 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -4187,7 +4187,9 @@ function zot_site_info($channel = null) {
$ret['site'] = [];
$ret['site']['url'] = z_root();
$ret['site']['url_sig'] = base64url_encode(rsa_sign(z_root(),$signing_key,$sig_method));
- $ret['site']['zot_auth'] = z_root() . '/magic';
+ $ret['site']['post'] = z_root() . '/post';
+ $ret['site']['openWebAuth'] = z_root() . '/owa';
+ $ret['site']['authRedirect'] = z_root() . '/magic';
$ret['site']['key'] = get_config('system','pubkey');
$dirmode = get_config('system','directory_mode');