fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [7517] catch: importhelper


From: Sigurd Nes
Subject: [Fmsystem-commits] [7517] catch: importhelper
Date: Sun, 21 Aug 2011 15:10:11 +0000

Revision: 7517
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7517
Author:   sigurdne
Date:     2011-08-21 15:10:11 +0000 (Sun, 21 Aug 2011)
Log Message:
-----------
catch: importhelper

Modified Paths:
--------------
    trunk/property/inc/cron/default/catch_ppc.php

Modified: trunk/property/inc/cron/default/catch_ppc.php
===================================================================
--- trunk/property/inc/cron/default/catch_ppc.php       2011-08-21 15:09:51 UTC 
(rev 7516)
+++ trunk/property/inc/cron/default/catch_ppc.php       2011-08-21 15:10:11 UTC 
(rev 7517)
@@ -39,7 +39,7 @@
 
                public function __construct()
                {
-                       $this->db           = clone($GLOBALS['phpgw']->db);
+                       $this->db           = & $GLOBALS['phpgw']->db;
                        $this->join                     = & $this->db->join;
                        $this->like                     = & $this->db->like;
                }
@@ -316,7 +316,7 @@
                                                        $file = 
PHPGW_SERVER_ROOT . 
"/catch/inc/custom/{$GLOBALS['phpgw_info']['user']['domain']}/{$entry['file_name']}";
                                                        if ( $entry['active'] 
&& is_file($file) )
                                                        {
-                                                               require_once 
$file;
+                                                               require $file;
                                                        }
                                                }
                                                




reply via email to

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