phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] phpgwapi/inc functions.inc.php


From: Dave Hall
Subject: [Phpgroupware-cvs] phpgwapi/inc functions.inc.php
Date: Sat, 09 Sep 2006 11:45:36 +0000

CVSROOT:        /cvsroot/phpgwapi
Module name:    phpgwapi
Changes by:     Dave Hall <skwashd>     06/09/09 11:45:36

Modified files:
        inc            : functions.inc.php 

Log message:
        make error message match that in used in setup

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/functions.inc.php?cvsroot=phpgwapi&r1=1.196&r2=1.197

Patches:
Index: functions.inc.php
===================================================================
RCS file: /cvsroot/phpgwapi/phpgwapi/inc/functions.inc.php,v
retrieving revision 1.196
retrieving revision 1.197
diff -u -b -r1.196 -r1.197
--- functions.inc.php   3 Sep 2006 06:15:27 -0000       1.196
+++ functions.inc.php   9 Sep 2006 11:45:35 -0000       1.197
@@ -7,7 +7,7 @@
        * @license http://www.fsf.org/licenses/lgpl.html GNU Lesser General 
Public License
        * @package phpgwapi
        * @subpackage utilities
-       * @version $Id: functions.inc.php,v 1.196 2006/09/03 06:15:27 skwashd 
Exp $
+       * @version $Id: functions.inc.php,v 1.197 2006/09/09 11:45:35 skwashd 
Exp $
        */
        
        
@@ -75,9 +75,8 @@
        
        if (!function_exists('html_entity_decode'))//html_entity_decode() is 
only available in PHP4.3+
        {
-               echo 'phpGroupWare now requires PHP 4.3 or greater.<br>';
-               echo 'Please contact your System Administrator';
-               exit;
+               die(lang('You appear to be using PHP %1, phpGroupWare requires 
4.3.0 or later', PHP_VERSION) . "<br>\n"
+                       . lang('Please contact your System Administrator') );
        }
 
        include_once(PHPGW_API_INC.'/common_functions.inc.php');




reply via email to

[Prev in Thread] Current Thread [Next in Thread]