or require this module to use php 5.2+
Also take a look at ajaxify_regions_ajax_handler in the Ajaxify Regions module. It sets $_GET['q'] so that the arg() function works correctly inside the block. You might want to look into setting context via a url query string.
Comments
Comment #1
dave reidCan you please file a separate issue for this, it seems to be unrelated.
Comment #2
dave reidFixed on all three branches now:
http://drupalcode.org/project/sharedblocks.git/commit/a7d2242 (7.x-2.x)
http://drupalcode.org/project/sharedblocks.git/commit/976722d (7.x-1.x)
http://drupalcode.org/project/sharedblocks.git/commit/e5f14bf (6.x-1.x)
Comment #3
dave reidSplit the separate issue about $_GET['q'] into #2181087: Trick shared blocks into thinking the 'current path' is the homepage