fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [9753] check for pear


From: Sigurd Nes
Subject: [Fmsystem-commits] [9753] check for pear
Date: Fri, 06 Jul 2012 14:25:50 +0000

Revision: 9753
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=9753
Author:   sigurdne
Date:     2012-07-06 14:25:50 +0000 (Fri, 06 Jul 2012)
Log Message:
-----------
check for pear

Modified Paths:
--------------
    thirdparty/egw-pear/Net/Socket.php

Modified: thirdparty/egw-pear/Net/Socket.php
===================================================================
--- thirdparty/egw-pear/Net/Socket.php  2012-07-05 14:17:47 UTC (rev 9752)
+++ thirdparty/egw-pear/Net/Socket.php  2012-07-06 14:25:50 UTC (rev 9753)
@@ -19,7 +19,10 @@
 //
 // $Id: Socket.php,v 1.28 2006/12/13 21:32:03 cweiske Exp $
 
-require_once 'PEAR.php';
+if(!include_once 'PEAR.php')
+{
+       throw new Exception('missing pear package to run felamimail');
+}
 
 define('NET_SOCKET_READ',  1);
 define('NET_SOCKET_WRITE', 2);




reply via email to

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