*
* This file brings in all of the dependencies that every Chora script
* will need, and sets up objects that all scripts use.
+ *
+ * The following global variables are used:
+ * $no_compress - Controls whether the page should be compressed
*/
$chora_dir = dirname(__FILE__);
Chora::initialize();
// Start compression.
-Horde::compressOutput();
+if (!Util::nonInputVar('no_compress')) {
+ Horde::compressOutput();
+}
* Global variables defined:
* $ingo_shared - TODO
* $ingo_storage - The Ingo_Storage:: object to use for storing rules.
+ * $no_compress - Controls whether the page should be compressed
*
* See the enclosed file LICENSE for license information (ASL). If you
* did not receive this file, see http://www.horde.org/licenses/asl.php.
$notification->attach('status');
// Start compression.
-Horde::compressOutput();
+if (!Util::nonInputVar('no_compress')) {
+ Horde::compressOutput();
+}
// Load the Ingo_Storage driver. It appears in the global variable
// $ingo_storage.
* 'none' - Do not start a session
* 'readonly' - Start session readonly
* [DEFAULT] - Start read-write session
+ * $no_compress - Controls whether the page should be compressed
* </pre>
*
* @package Kronolith
$GLOBALS['kronolith_notify'] = $notification->attach('status', null, 'Kronolith_Notification_Listener_Status');
/* Start compression. */
-Horde::compressOutput();
+if (!Util::nonInputVar('no_compress')) {
+ Horde::compressOutput();
+}
/* Set the timezone variable, if available. */
Horde_Nls::setTimeZone();
*
* This file brings in all of the dependencies that every Nag
* script will need and sets up objects that all scripts use.
+ *
+ * The following global variables are used:
+ * $no_compress - Controls whether the page should be compressed
*/
// Determine BASE directories.
$notification->attach('status', null, 'Nag_Notification_Listener_Status');
// Start compression.
-Horde::compressOutput();
+if (!Util::nonInputVar('no_compress')) {
+ Horde::compressOutput();
+}
// Set the timezone variable.
Horde_Nls::setTimeZone();
* $ingo_authentication - The type of authentication to use:
* 'none' - Do not authenticate
* [DEFAULT] - Authenticate; on failed auth redirect to login screen
+ * $no_compress - Controls whether the page should be compressed
* </pre>
*/
$GLOBALS['addSources'] = $addSources;
// Start compression, if requested.
-Horde::compressOutput();
+if (!Util::nonInputVar('no_compress')) {
+ Horde::compressOutput();
+}