Need to skip authentication checks here, the application should be responsible for...
authorMichael J. Rubinsky <mrubinsk@horde.org>
Sun, 10 Oct 2010 15:54:19 +0000 (11:54 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Sun, 10 Oct 2010 15:54:19 +0000 (11:54 -0400)
If 'horde' itself does not give guest read access, then even if another application does grant access,
downloading files would be denied. Fix that.

Bug: 9294

horde/services/download/index.php

index e277e2c..b5f3b01 100644 (file)
@@ -9,7 +9,7 @@
  */
 
 require_once dirname(__FILE__) . '/../../lib/Application.php';
-Horde_Registry::appInit('horde', array('session_control' => 'readonly'));
+Horde_Registry::appInit('horde', array('session_control' => 'readonly', 'authentication' => 'none'));
 
 if (!($module = Horde_Util::getFormData('module')) ||
     !file_exists($registry->get('fileroot', $module))) {