From 7ae5432fbfc0e923f2fe8dc62ff77afb8ecc80cf Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Wed, 30 May 2012 04:42:27 -0400
Subject: [PATCH] Abbreviate long attachment file names with ellipsis (#1488499)
---
program/include/clisetup.php | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/program/include/clisetup.php b/program/include/clisetup.php
index fbea980..c5f8dd1 100644
--- a/program/include/clisetup.php
+++ b/program/include/clisetup.php
@@ -5,8 +5,11 @@
| program/include/clisetup.php |
| |
| This file is part of the Roundcube Webmail client |
- | Copyright (C) 2010, Roundcube Dev, - Switzerland |
- | Licensed under the GNU GPL |
+ | Copyright (C) 2010, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
| PURPOSE: |
| Setup the command line environment and provide some utitlity |
@@ -23,8 +26,10 @@
die('Not on the "shell" (php-cli).');
}
-require_once 'iniset.php';
+require_once INSTALL_PATH . 'program/include/iniset.php';
+// Unset max. execution time limit, set to 120 seconds in iniset.php
+@set_time_limit(0);
/**
* Parse commandline arguments into a hash array
@@ -87,4 +92,4 @@
}
}
-?>
\ No newline at end of file
+?>
--
Gitblit v1.9.1