aboutsummaryrefslogtreecommitdiff
path: root/start.php
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2012-04-13 16:18:46 -0700
committerBrett Profitt <brett.profitt@gmail.com>2012-04-13 16:18:46 -0700
commitd5ac522fcfd83c07c9eb879b6d7389be1b5c6dc2 (patch)
treebc86079ae19afffb628ee2f12b6223ea7b507417 /start.php
parent6ad5f07c03b8a6763d8c07e86d43fa7be7583d05 (diff)
downloadelgg-d5ac522fcfd83c07c9eb879b6d7389be1b5c6dc2.tar.gz
elgg-d5ac522fcfd83c07c9eb879b6d7389be1b5c6dc2.tar.bz2
Fixed ajax uploading for walled garden users.
Diffstat (limited to 'start.php')
-rw-r--r--start.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/start.php b/start.php
index e98e19261..2ef7dcb4c 100644
--- a/start.php
+++ b/start.php
@@ -78,7 +78,8 @@ function tidypics_init() {
elgg_register_plugin_hook_handler('notify:entity:message', 'object', 'tidypics_notify_message');
// ajax handler for uploads when use_only_cookies is set
- elgg_register_plugin_hook_handler('forward', 'csrf', 'tidypics_ajax_session_handler');
+ // using the all forward hook to work with walled gardens.
+ elgg_register_plugin_hook_handler('forward', 'all', 'tidypics_ajax_session_handler');
/*
// Register for notifications