From 552cdea1cf99f3a962e242fe49a70a6de41397c2 Mon Sep 17 00:00:00 2001
From: Brian Ronald <b.ronald@connexions-tw.co.uk>
Date: Wed, 09 May 2012 05:31:47 -0400
Subject: [PATCH] Change version text to reflect new versioning system

---
 program/include/clisetup.php |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/program/include/clisetup.php b/program/include/clisetup.php
index fbea980..22ffbbc 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
@@ -50,7 +55,7 @@
 			continue;
 
 		$args[$key] = preg_replace(array('/^["\']/', '/["\']$/'), '', $value);
-		
+
 		if ($alias = $aliases[$key])
 			$args[$alias] = $args[$key];
 	}
@@ -87,4 +92,4 @@
   }
 }
 
-?>
\ No newline at end of file
+?>

--
Gitblit v1.9.1